summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* [Bug #822668] tarfile raises an exception if the tarfile is gzipped and is ↵Andrew M. Kuchling2003-10-241-1/+1
| | | | too large; the gzip filesize should be written out mod 2**32. (Reported by Johan Fredrik Ohman)
* Fixed bug introduced in revision 1.27Armin Rigo2003-10-241-1/+1
|
* Fix a bug in the memory reallocation code of PyUnicode_TranslateCharmap().Walter Dörwald2003-10-241-0/+12
| | | | | | | charmaptranslate_makespace() allocated more memory than required for the next replacement but didn't remember that fact, so memory size was growing exponentially every time a replacement string is longer that one character. This fixes SF bug #828737.
* Added itertools.tee()Raymond Hettinger2003-10-241-61/+130
| | | | | | It works like the pure python verion except: * it stops storing data after of the iterators gets deallocated * the data queue is implemented with two stacks instead of one dictionary.
* Patch #813200: Quote executable path on Windows. Fixes #811082.Martin v. Löwis2003-10-231-2/+10
| | | | Backported to 2.3.
* Remove unneeded import.Guido van Rossum2003-10-221-1/+0
|
* Replace a reduce() with sum().Raymond Hettinger2003-10-221-3/+2
|
* Add docstringAndrew M. Kuchling2003-10-221-0/+4
|
* [Part of patch #648322] Delete the poll2() function, which uses a 'poll' ↵Andrew M. Kuchling2003-10-221-29/+4
| | | | extension module that was once part of Medusa. Contributed by Kjetil Jacobsen
* [Bug #758241] When you use asyncore with a non-default map, methodsAndrew M. Kuchling2003-10-221-2/+7
| | | | | | | | | | | of the dispatcher object break. e.g. if you close() the object, it tries to remove itself from the default map, not from the map the dispatcher was created with. The patch, from Stephane Ninin, records the map as an attribute of the dispatcher instance. 2.3 bugfix candidate.
* Apply patch 823328 -- support for rfc 2617 digestion authentication.Jeremy Hylton2003-10-211-44/+96
| | | | | | | | | | | | The patch was tweaked slightly. It's get a different mechanism for generating the cnonce which uses /dev/urandom when possible to generate less-easily-guessed random input. Also rearrange the imports so that they are alphabetical and duplicates are eliminated. Add a few XXX comments about things left undone and things that could be improved.
* Make both items() methods return lists; one had changed to return anFred Drake2003-10-211-5/+4
| | | | | iterator where it probably shouldn't have. Closes SF bug #818861.
* Show microseconds, milliseconds or seconds, whichever is most natural,Guido van Rossum2003-10-201-1/+9
| | | | rather than showing weird numbers like 8.4e+03 usec.
* Fix a bunch of typos in documentation, docstrings and comments.Walter Dörwald2003-10-2021-23/+23
| | | | (From SF patch #810751)
* Patch #822994: Consolidate tests for self.closed.Martin v. Löwis2003-10-181-18/+14
|
* Implemented non-recursive SRE matching.Gustavo Niemeyer2003-10-174-10/+62
|
* Let library modules use the new keyword arguments for list.sort().Raymond Hettinger2003-10-167-24/+18
|
* * list.sort() now supports three keyword arguments: cmp, key, and reverse.Raymond Hettinger2003-10-161-45/+101
| | | | | | | key provides C support for the decorate-sort-undecorate pattern. reverse provide a stable sort of the list with the comparisions reversed. * Amended the docs to guarantee sort stability.
* Open results files, which contain binary pickles, in binary mode.Jeremy Hylton2003-10-141-4/+2
| | | | | Remove fallback code that tries to read marshal data from a results file, since this module never writes marshal data.
* Add test__locale to expected skip list for Darwin.Brett Cannon2003-10-131-0/+1
|
* Patch #810914: Return absolute path for mkstemp. Fixes #810408.Martin v. Löwis2003-10-122-2/+8
| | | | | This should not be backported to 2.3, as it might break backwards compatibility.
* Minor fixup. "Random" was listed twice in __all__.Raymond Hettinger2003-10-121-2/+1
|
* See rev. 1.42 for log messageBrett Cannon2003-10-121-6/+2
|
* see rev. 1.13 for log messageBrett Cannon2003-10-121-5/+2
|
* Ouch. Remove debug code containing obscenities. :-)Guido van Rossum2003-10-101-3/+0
|
* The fullmodname() function chopped off the first character if theGuido van Rossum2003-10-101-1/+8
| | | | | module existed in the current directory. Fix this. Backport candidate (I presume).
* TCPServer: Fixed typo in class docstring.Barry Warsaw2003-10-091-1/+1
|
* TCPServer: Fixed typo in class docstring.Barry Warsaw2003-10-091-1/+1
| | | | Backport candidate.
* Patch #817329: Use SC_OPEN_MAX to determine MAXFD. Backported to 2.3.Martin v. Löwis2003-10-061-1/+4
|
* SF patch [ 816787 ] urllib2.URLError don't calll IOError.__init__Jeremy Hylton2003-10-061-1/+5
| | | | Not sure if this fix is great, but it's probably a small improvement.
* Fix for SF bug [ 817156 ] invalid \U escape gives 0=length unistr.Jeremy Hylton2003-10-061-0/+7
|