Commit Graph

33817 Commits

Author SHA1 Message Date
Thomas Heller db5483be64 Try to fix the tests on OpenBSD. Apparently OpenBSD passes
structure parameters differently than other posix-like systems.
2006-04-03 16:19:45 +00:00
Walter Dörwald 2a1b4a69b7 For backwards compatibility reasons the global function
setfirstweekday() still needs to do a range check.
2006-04-03 15:24:49 +00:00
Walter Dörwald 72d84af401 Always return firstweekday % 7 instead of complaining
on setting.
2006-04-03 15:21:59 +00:00
Walter Dörwald aba10cf153 Turn firstweekday into a property. 2006-04-03 15:20:28 +00:00
Anthony Baxter ebed3f629b preparation for 2.5a1 2006-04-03 15:03:44 +00:00
Anthony Baxter 70e079631f added sqlite3 section
expanded tabs
fixed a couple of typos
removed .cvsignore reference
2006-04-03 14:16:27 +00:00
Andrew M. Kuchling af7ee99a49 Add sections for new modules; will write tutorial later 2006-04-03 12:41:37 +00:00
Georg Brandl ad89dc8794 Bug #1451503: allow unicode filenames in os.startfile(). 2006-04-03 12:26:26 +00:00
Martin v. Löwis 59c3acc3cd Add check_soundcard.vbs. Will backport 2006-04-03 12:07:46 +00:00
Martin v. Löwis 54b42f185e Allow long integers in PySlice_GetIndices. 2006-04-03 11:38:08 +00:00
Martin v. Löwis a8cd7a26d4 Add test case for #43581. 2006-04-03 11:05:39 +00:00
Martin v. Löwis ea62d2535f Bug #1421664: Set sys.stderr.encoding 2006-04-03 10:56:49 +00:00
Anthony Baxter cf0a2a8576 Deal with openbsd's different style of default /etc/hosts by forcing the fqdn
lookup to use the IP address returned by gethosbyname.
2006-04-03 08:10:33 +00:00
Anthony Baxter 93f5b93422 The email module's parsedate_tz function now sets the daylight savings
flag to -1 (unknown) since it can't tell from the date whether it should
be set.
patch from Aldo Cortesi
2006-04-03 08:05:07 +00:00
Neal Norwitz 9e5eb4ffbf I could have sworn this was part of the change to not abbreviate ABSOLUTE 2006-04-03 06:58:51 +00:00
Neal Norwitz b0b20a10bc Get ctypes loader working on OSF1 (Tru64) 2006-04-03 06:52:43 +00:00
Neal Norwitz cbce280d4f Don't abbreviate ABS, use long name ABSOLUTE. 2006-04-03 06:26:32 +00:00
Martin v. Löwis f5af2aac38 Patch #1462700: Make _ctypes_test depend on _ctypes.
Use same GUID for pythoncore in project and solution.
2006-04-03 05:29:03 +00:00
Neal Norwitz 84c95b9407 Fix test_pty on OSF/1 (Tru64). The problem is that the newline gets
converted to CR CR NL.  There may be a way to fix this with tcsetattr,
but I couldn't find it.  There was a similar problem on IRIX.

Just normalize the output and compare that.

Will backport.
2006-04-03 05:28:31 +00:00
Neal Norwitz 9cdfa4c98c Skip the test for sys.stdin.seek(-1) on OSF/1 (Tru64) since it does Bad Things
like cause the interpreter to exit abruptly.  If there's a way to fix this,
it would be good to really fix it.  It could just be the operation of the
std C library and we just aren't supposed to do that.

When the test case is skipped, we print a message so the user can check
for themselves.
2006-04-03 05:27:05 +00:00
Neal Norwitz 3e1ec3aa22 Remove some duplicated code for handling Mac modules. No functional change (intended). Also stoped setting srcdir twice. 2006-04-03 04:52:05 +00:00
Neal Norwitz 19379f18a6 * Fix a refleak of *_attributes.
* Cleanup formatting a bit (add spaces).
* Move static var initialized inside init_types() since that's the only place
  it's used.
2006-04-03 04:50:58 +00:00
Neal Norwitz 92e212f7d9 Accept keyword arguments for __import__ and doc the addition of the level param from PEP 328. 2006-04-03 04:48:37 +00:00
Neal Norwitz 92a6be4318 Whitespace: break long line 2006-04-03 04:46:28 +00:00
Neal Norwitz d08eaf4d1b Use Py_ssize_t in slices 2006-04-03 04:46:04 +00:00
Neal Norwitz b902f4e401 Use absolute imports 2006-04-03 04:45:34 +00:00
Tim Peters 480725d4c5 Whitespace normalization. 2006-04-03 02:46:44 +00:00
Anthony Baxter 3dc6bb3c25 cleaned up setup.py code for sqlite3, based on patch from Gerhard Haering. 2006-04-03 02:20:49 +00:00
Walter Dörwald 04ee87097c Always use firstweekday module 7. 2006-04-02 22:11:10 +00:00
Georg Brandl 5f284da2d4 Document recent fdopen() change. 2006-04-02 21:18:27 +00:00
Georg Brandl 7fff58c097 Readd urllib.quote import as it doesn't cause any harm. 2006-04-02 21:13:13 +00:00
Georg Brandl 4696ffbf09 Remove "disgusting hack" in favour of closure (patch #1462235) 2006-04-02 21:09:51 +00:00
Georg Brandl c5ffd91911 Patch #1463012: remove not working undocumented classes from urllib2 2006-04-02 20:48:11 +00:00
Georg Brandl 720096a6bf Patch #1462790: fix urllib2 ProxyHandler for host:port proxies 2006-04-02 20:45:34 +00:00
Georg Brandl 4eb521e595 bug #1462706: guard against host not having FQDN hostname 2006-04-02 20:37:17 +00:00
Fredrik Lundh 31fe35bdee end the sentence... 2006-04-02 07:59:55 +00:00
Fred Drake 1c0e3284f9 fix markup error 2006-04-02 03:30:06 +00:00
Andrew M. Kuchling e8058299a5 Grammar fix 2006-04-02 01:47:38 +00:00
Andrew M. Kuchling 38f85078da Write various sections; I haven't been able to check whether the TeX markup is correct 2006-04-02 01:46:32 +00:00
Fred Drake ad5177cf8d Patch #624325: urlparse.urlparse() and urlparse.urlsplit() results
now sport attributes that provide access to the parts of the result.
2006-04-01 22:14:43 +00:00
Walter Dörwald f878b8120c Make firstweekday a simple attribute instead
of hiding it behind a setter and a getter.
2006-04-01 20:40:23 +00:00
Georg Brandl cd10347b65 Fix LaTeX oversight. 2006-04-01 20:40:16 +00:00
Jeremy Hylton 12603c41da Expand comments on line numbers and blocks.
Reorder compiler_set_lineno() call for consistency.
2006-04-01 16:18:02 +00:00
Andrew M. Kuchling 7034f6b79f Some typo & grammar fixes 2006-04-01 10:50:08 +00:00
Andrew M. Kuchling f2d712b265 Update status of this PEP 2006-04-01 10:32:13 +00:00
Neal Norwitz 95f0e4c401 Make ssize_t clean 2006-04-01 09:08:06 +00:00
Georg Brandl 828fdefd92 Update SQLite version requirement. 2006-04-01 08:59:03 +00:00
Georg Brandl 28161e2465 patch #1416559: don't define _XOPEN_SOURCE on Mac OS Panther 2006-04-01 08:51:25 +00:00
Georg Brandl 9cdf56318d clarify new docs on attr value entity expansion 2006-04-01 08:39:50 +00:00
Anthony Baxter 07f5b35e19 backport r243 from the pysqlite2 svn repository - lowers the required version
of SQLite3 from 3.2.2 to 3.0.8, by providing an alternative to
sqlite3_transfer_bindings. setup.py also handles the common (in debian
and ubuntu, at least) case of a buggy sqlite3.h SQLITE_VERSION_NUMBER.
2006-04-01 08:36:27 +00:00