summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* SF bug 839548: Bug in type's GC handling causes segfaults.Tim Peters2003-11-201-0/+205
| | | | | | | | Also SF patch 843455. This is a critical bugfix. I'll backport to 2.3 maint, but not beyond that. The bugs this fixes have been there since weakrefs were introduced.
* test_applesingle is an expected skip on Win32Raymond Hettinger2003-11-201-0/+1
|
* Fix typo fix.Walter Dörwald2003-11-201-4/+4
|
* Patch #831747: Add skip_accept_encoding parameter to putrequest.Martin v. Löwis2003-11-191-3/+7
|
* Get rid of MacOS9 support. Paths are still hard-coded, that'll be fixedJack Jansen2003-11-191-16/+3
| | | | later.
* Remove deprecation of sets.Set.update().Raymond Hettinger2003-11-191-4/+0
|
* Fix typos.Walter Dörwald2003-11-191-4/+4
|
* - After an exception, run.py was not setting the exception vector. NoamKurt B. Kaiser2003-11-192-1/+6
| | | | | | | Raphael suggested correcting this so pdb's postmortem pm() would work. IDLEfork Patch 844675 Modified: NEWS.txt run.py
* __init__(): The docstring was incorrect regarding how header wrappingBarry Warsaw2003-11-191-5/+4
| | | | | | gets done when maxheaderlen <> 0. The header really gets wrapped via the email.Header.Header class, which has a more sophisticated algorithm than just splitting on semi-colons.
* Modified version by Bob Ippolito. It passes the just-added test_applesingleJack Jansen2003-11-181-63/+100
| | | | | after some minor mods. Fixes #803498, but should NOT be backported because the original problem seems to be unreproducable.
* Fix for [ 765456 ]: testAFakeZlib failed on platforms that use aJust van Rossum2003-11-181-0/+7
| | | | | statically linked zlib module, but since the problem it tests can't exist on these systems, simply skip it then. Will backport.
* Test the applesingle decoder.Jack Jansen2003-11-181-0/+72
|
* Various fixups (most suggested by Armin Rigo).Raymond Hettinger2003-11-171-0/+25
|
* * Migrate set() and frozenset() from the sandbox.Raymond Hettinger2003-11-1613-40/+1209
| | | | | | | | * Install the unittests, docs, newsitem, include file, and makefile update. * Exercise the new functions whereever sets.py was being used. Includes the docs for libfuncs.tex. Separate docs for the types are forthcoming.
* SF #841977 - modulefinder fails to find extension modules in packagesThomas Heller2003-11-141-1/+6
| | | | | | | | | | | The find_all_submodules() method in modulefinder only looks for *.py, *.pyc, and *.pyo files. Python extension modules are only found if they are referenced in import statements somewhere. This patch uses the actual list from imp.get_suffixes(). Backported myself.
* subtype_dealloc(): A more complete fix for critical bug 840829 +Tim Peters2003-11-131-0/+19
| | | | | | expanded the test case with a piece that needs the more-complete fix. I'll backport this to 2.3 maint.
* Patch #839877: Remove unused lambda expression.Martin v. Löwis2003-11-131-4/+0
|
* SF bug 840829: weakref callbacks and gc corrupt memory.Tim Peters2003-11-121-0/+20
| | | | | | | | | | | | | | | | | subtype_dealloc(): This left the dying object exposed to gc, so that if cyclic gc triggered during the weakref callback, gc tried to delete the dying object a second time. That's a disaster. subtype_dealloc() had a (I hope!) unique problem here, as every normal dealloc routine untracks the object (from gc) before fiddling with weakrefs etc. But subtype_dealloc has obscure technical reasons for re-registering the dying object with gc (already explained in a large comment block at the bottom of the function). The fix amounts to simply refraining from reregistering the dying object with gc until after the weakref callback (if any) has been called. This is a critical bug (hard to predict, and causes seemingly random memory corruption when it occurs). I'll backport it to 2.3 later.
* Improve backwards compatibility code to handle True/False.Raymond Hettinger2003-11-121-0/+4
|
* Improve the implementation of itertools.tee().Raymond Hettinger2003-11-121-24/+31
| | | | | | | | | | | Formerly, underlying queue was implemented in terms of two lists. The new queue is a series of singly-linked fixed length lists. The new implementation runs much faster, supports multi-way tees, and allows tees of tees without additional memory costs. The root ideas for this structure were contributed by Andrew Koenig and Guido van Rossum.
* Make Message.__str__ more efficient.Neil Schemenauer2003-11-111-4/+1
|
* Patch #798297: Add IMAP THREAD command.Martin v. Löwis2003-11-101-0/+11
|
* mktemp() shouldn't rely on os.path.exists(), which can return False ifGuido van Rossum2003-11-101-1/+23
| | | | | the file is a symlink. Instead, use os.lstat directly, if it exists; fall back on os.stat or the built-in open. Thanks to Iustin Pop.
* fixed wrong error checking on fcntl call as per SF bug # 821896Alex Martelli2003-11-091-2/+3
| | | | (same as commit of Sun Nov 2 to the release23-maint branch)
* fixed obvious bug in _send_header as per SF bug #831271Alex Martelli2003-11-091-2/+1
| | | | (same as commit of Sun Nov 2 to the release23-maint branch)
* Update test to handle list.__reversed__().Raymond Hettinger2003-11-081-0/+1
|
* SF bug #835457: Small typo in logging documentationRaymond Hettinger2003-11-081-1/+1
|
* Convert heapq.py to a C implementation.Raymond Hettinger2003-11-082-256/+0
|
* Overallocate target buffer for normalization more early. Fixes #834676.Martin v. Löwis2003-11-061-0/+3
| | | | Backported to 2.3.
* Implement and apply PEP 322, reverse iterationRaymond Hettinger2003-11-066-8/+24
|
* Add traceback.format_exc().Neil Schemenauer2003-11-052-7/+14
|
* * Use weakref's of DBCursor objects for the iterator cursors to avoid aGregory P. Smith2003-11-032-50/+121
| | | | | | | | | | memory leak that would've occurred for all iterators that were destroyed before having iterated until they raised StopIteration. * Simplify some code. * Add new test cases to check for the memleak and ensure that mixing iteration with modification of the values for existing keys works.
* SF patch #834015: Remove imports of unused modulesRaymond Hettinger2003-11-025-13/+8
| | | | (Contributed by George Yoshida.)
* * Fix the singlethreaded deadlocks occurring in the simple bsddb interface.Gregory P. Smith2003-11-022-8/+154
| | | | | * Add support for multiple iterator/generator objects at once on the simple bsddb _DBWithCursor interface.
* Patch #830858: Correct the number of is-functions. Backported to 2.3 and 2.2.Martin v. Löwis2003-10-311-0/+4
|
* Patch #531629: Add multicall support.Martin v. Löwis2003-10-311-1/+65
|
* Patch #785689: Use basename in usage. Backported to 2.3.Martin v. Löwis2003-10-311-1/+1
|
* Patch #: Add POP3 over SSL support.Martin v. Löwis2003-10-311-1/+89
|
* Update test to include "sorted" in dir(list).Raymond Hettinger2003-10-291-1/+2
|
* Add list.sorted() classmethod.Raymond Hettinger2003-10-292-0/+63
|
* SF #775057, fix IDLE problem in about dialogNeal Norwitz2003-10-281-1/+3
| | | | | If the file doesn't exist, the code to display an error message was broken Will backport.
* Fixed dis.disassemble_string().Armin Rigo2003-10-281-28/+24
| | | | | Added dis.findlinestarts(). SF bug 811294
* Deleting cyclic object comparison.Armin Rigo2003-10-284-69/+43
| | | | | SF patch 825639 http://mail.python.org/pipermail/python-dev/2003-October/039445.html
* Docstring fix: XHTML 1.0 entities are supportedAndrew M. Kuchling2003-10-271-3/+3
|
* Patch #817854: Add missing operations for SSLFile. Fixes #792101.Martin v. Löwis2003-10-271-0/+25
| | | | Backported to 2.3.
* Another instance of the same typo.Steve Purcell2003-10-261-2/+2
|
* Replace the window() example with pairwise() which demonstrates tee().Raymond Hettinger2003-10-261-13/+10
|
* Minor improvements to itertools.tee():Raymond Hettinger2003-10-261-0/+12
| | | | | | * tee object is no longer subclassable * independent iterators renamed to "itertools.tee_iterator" * fixed doc string typo and added entry in the module doc string
* Incorporated patch 819077, from George Yoshida:Steve Purcell2003-10-261-7/+6
| | | | | | | | | | | | | * Fixed typo in docstring for 'failUnlessAlmostEqual()' * Removed unnecessary use of 'float()' for time values. * Removed apparently unnecessary import of unittest. At some point in the distant past I believe it was necessary otherwise the 'TestCase' that a module saw was not the same as the 'TestCase' seen within 'unittest', and the user's TestCase subclasses were not recognised as subclasses of the TestCase seen within unittest. Seems not to be necessary now.
* Patch #812378: Normalize white space.Martin v. Löwis2003-10-241-3/+3
|