summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* formatting nitAnthony Baxter2004-05-271-8/+8
|
* This file no longer compressed with upx.Thomas Heller2004-05-251-0/+0
|
* Remove the offending added bit of a test case that doesn't apply toGregory P. Smith2004-05-151-5/+0
| | | | | | | the python 2.3.x branch as the bsddb.set_get_returns_none() default behaviour is different than on 2.4 and leter. (yes a correct test case for this branch could be written; removing this bad test gets things not-failing fastest)
* Added a sample message for the test for SF bug # 846938. I'm naming thisBarry Warsaw2004-05-131-0/+10
| | | | | msg_40.txt because msg_3[6-9].txt are already used in email3/py2.4 and I'm going to forward port this test.
* test_boundary_in_non_multipart(): Added a test for SF bug # 846938.Barry Warsaw2004-05-131-0/+15
|
* _parsebody(): Do not create subparts unless the container has a main type ofBarry Warsaw2004-05-131-7/+8
| | | | | | | | 'multipart' and the boundary is defined. This fixes SF bug # 846938, and several recent email-sig bugs where something like a text/html message also had a boundary parameter. This would later crash the Generator, which only consulted the Content-Type to decide how to generate the message (and it would expect just a string, but find a list there instead).
* Waugh! we need to bump the email package to 2.5.5 for Python 2.3.4.Barry Warsaw2004-05-131-3/+3
|
* update to match Lib/idlelib/NEWS version numberAnthony Baxter2004-05-131-1/+1
|
* SF #847346: remove misguided optimization for short input fromGreg Ward2004-05-131-10/+8
| | | | | wrap() method. Premature optimization is indeed the root of all evil. Whitespace fix.
* SF #847346: add test_fix_sentence_endings() to ensure that sentenceGreg Ward2004-05-131-4/+42
| | | | | | | | | | endings get fixed even if the input is too short to wrap. Also throw in a bunch of other tests for this rather tricky and under-tested feature. In WrapTestCase.setUp(), don't bother setting fix_sentence_endings=True for self.wrapper -- just use a separate wrapper in the two tests that care about it, namely test_whitespace() and test_fix_sentence_endings().
* Fix version number (2.3.4c1) and release date (12-May-2004).Thomas Heller2004-05-121-1/+1
|
* fix various descriptions of "ctime"Fred Drake2004-05-121-1/+1
| | | | (closes SF patch #870287)
* Fix SF item #876278: Unbounded recursion in modulefinder.Thomas Heller2004-05-111-0/+4
|
* Fix [ 738973 ] urllib2 CacheFTPHandler doesn't work on multiple dirs, asMark Hammond2004-05-101-1/+1
| | | | implemented in patch [ 851736 ].
* test_mime_attachments_in_constructor(): New test to check for SF bug # 884030.Barry Warsaw2004-05-091-0/+9
|
* SF patch # 884030 by Amit Aronovitch; fixes the _subpart argument to matchBarry Warsaw2004-05-091-5/+7
| | | | documented semantics.
* SF #950057: itertools.chain doesn't "process" exceptions as they occurRaymond Hettinger2004-05-081-0/+30
| | | | | Both cycle() and chain() were handling exceptions only when switching input sources. The patch makes the handle more immediate.
* Fix _sre.CODESIZE on 64-bit machines in UCS-4 mode. Fixes #931848.Martin v. Löwis2004-05-071-3/+5
|
* [Bug #945063 backport] Get file extension correct.Andrew M. Kuchling2004-05-061-1/+1
|
* fix documentation for ContentHandler.ignorableWhitespace()Fred Drake2004-05-061-4/+1
| | | | (closes SF bug #881707)
* Consider output encoding in XMLGenerator. Fixes #938076.Martin v. Löwis2004-05-061-13/+28
|
* Properly delegate startElementNS in saxutils.XMLFilterBase. Fixes #936637.Martin v. Löwis2004-05-061-1/+1
|
* Patch #944110: Properly process empty passwords. Fixes #944082.Martin v. Löwis2004-05-061-1/+1
|
* Merge all fixes from Python 2.4. This includes:Guido van Rossum2004-05-051-29/+23
| | | | | | | | | | 1.12 Added more Windows version names (thanks to Thomas Heller). Fixed bug in platform() cache (thanks to Brett Cannon). 1.10,1.11 Fixed a caching bug in platform.platform() where the argument of 'terse' was not taken into consideration when caching value.
* Using reversed() is not compatible with Python 1.5.2.Guido van Rossum2004-05-041-1/+1
|
* Do not use the default namespace for attributes.Martin v. Löwis2004-05-021-16/+12
| | | | Fixes http://bugs.debian.org/229885
* SF #926075: Fixed the bug that returns a wrong pattern object forHye-Shik Chang2004-04-201-0/+8
| | | | | a string or unicode object in sre.compile() when a different type pattern with the same value exists.
* SF #926075: Fixed the bug that returns a wrong pattern object forHye-Shik Chang2004-04-201-2/+3
| | | | | a string or unicode object in sre.compile() when a different type pattern with the same value exists.
* backport of patch #934971.Skip Montanaro2004-04-161-1/+1
|
* Recompiled the binary wininst.exe after this change:Thomas Heller2004-04-151-0/+0
| | | | | | | | | | When loading the Python dll to run the postinstall script, try to load it from the install directory (as reported by the registry) in case it is not found on the default Loadlibrary search path. Fixes SF 935091: bdist_winist post-install script fails on non-admin Python Will port to the trunk later.
* Backport to 2.3:Andrew MacIntyre2004-04-111-4/+19
| | | | | | | | | | Fixes for AF_UNIX support on OS/2: - return the full size of the sockaddr_un structure, without which bind() fails with EINVAL; - set test_socketserver to use a socket name that meets the form required by the underlying implementation; - don't bother exercising the forking AF_UNIX tests on EMX - its fork() can't handle the stress.
* Backport to 2.3 to support Zope 2.7 on OS/2:Andrew MacIntyre2004-04-041-2/+5
| | | | | | | | OS/2 has support for spawnvp() and spawnvpe() in the C libraries supplied with major C compilers (VACPP, EMX+gcc and [Open]Watcom). Also tidy up the export of spawn*() symbols in the os module to match what is found/implemented.
* Backport to 2.3:Andrew MacIntyre2004-04-041-0/+17
| | | | | | | | | If a file is opened with an explicit buffer size >= 1, repeated close() calls would attempt to free() the buffer already free()ed on the first close(). [bug introduced with patch #788249] Making sure that the buffer is free()ed in file object deallocation is a belt-n-braces bit of insurance against a memory leak.
* Fix support for the "prog" keyword to the OptionParser constructor, as wellFred Drake2004-04-012-3/+24
| | | | | | as directly setting the .prog attribute (which should be supported based on the class docstring). Closes SF bug #850964.
* backport fix for SF bug #796042: sdist ignores scripts argument in setupFred Drake2004-04-012-0/+6
| | | | | The fix adds a get_source_files() method to the build_scripts command and adds the result to the default manifest list.
* Backport 1.17:Guido van Rossum2004-03-311-0/+1
| | | | | | When /tmp has certain sticky bits set, newly created subdirectories inherit those bits, causing the test_mkdtemp.test_mode() test to fail. Remove those before comparing the actual mode to the expected mode.
* Keybindings with the Shift modifier now work correctly. So do bindingsKurt B. Kaiser2004-03-305-74/+88
| | | | | | | | | | | | | | which use the Space key. Limit unmodified user keybindings to the function keys. Python Bug 775353, IDLEfork Bugs 755647, 761557 Improve error handling during startup if there's no Tkinter. M NEWS.txt M PyShell.py M config-keys.def M configHandler.py M keybindingDialog.py
* Fix last patch to make backwards-compatible with Python 1.5.2 .Brett Cannon2004-03-251-14/+26
| | | | Bumped up micro version number.
* Fixed a caching bug in platform.platform() where the argument of 'terse' wasBrett Cannon2004-03-251-8/+8
| | | | not taken into consideration when caching value.
* Ensure super() lookup of descriptor from classmethod works (SF ID# 743627)Phillip J. Eby2004-03-251-0/+14
| | | | (Backport to 2.3 maintenance branch)
* Convert input to a string object. Fixes #909230.Martin v. Löwis2004-03-231-0/+1
|
* Fix test_strftime.py to escape locale time values that have characters thatBrett Cannon2004-03-201-2/+14
| | | | | might be mistaken for regex syntax. Fixes bug #883604 .
* Backporting to 2.3:Guido van Rossum2004-03-201-6/+5
| | | | | | Fix for SF 777848. I've been bitten by this myself in the past half year. I hope this fix is right.
* Raise RuntimeError if the second argument to isinstance() or issubclass()Brett Cannon2004-03-201-0/+19
| | | | | | is a tuple nested to a depth beyond the interpreter's recursion limit to prevent a segfault from blowing the C stack. Fixes bug #858016 .
* Strip all whitespace at the end of a line when validating paths specified inBrett Cannon2004-03-201-2/+1
| | | | | a .pth file. Fixes bug #700055 .
* commit the portion of PyXML patch #919008 that is relevant to theFred Drake2004-03-202-2/+42
| | | | | | | standard library: str() of xml.sax.SAXParseException should not fail if the line and/or column number returned by the locator are None (tests added)
* fix bug related to SF bug id 788421 where DBC.set_range() could callGregory P. Smith2004-03-161-1/+1
| | | | free() on something it did not allocate for non B-Tree based databases.
* Backport checkin:Walter Dörwald2004-03-152-152/+149
| | | | | | Port test_binascii.py to PyUnit and enhance tests. Code coverage for binascii.c is at 92%. From SF patch #736962.
* SF patch #911431: robot.txt must be robots.txtRaymond Hettinger2004-03-131-2/+2
| | | | (Contributed by George Yoshida.)
* Backport of 1.29 and 1.30 (1.28 is obsolete):Jack Jansen2004-02-281-4/+48
| | | | | | | | Started on version 0.4: better scheme for finding correct database: - Try not only "darwin-7.X.Y" but also "darwin-7.X" and "darwin-7", so far we've never had to create anew database for a minor release. - Distinguish between the various different installs (user-installed MacPython, apple-installed MacPython, other).