Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * Use weakref's of DBCursor objects for the iterator cursors to avoid a | Gregory P. Smith | 2003-11-03 | 2 | -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 modules | Raymond Hettinger | 2003-11-02 | 5 | -13/+8 |
| | | | | (Contributed by George Yoshida.) | ||||
* | * Fix the singlethreaded deadlocks occurring in the simple bsddb interface. | Gregory P. Smith | 2003-11-02 | 2 | -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öwis | 2003-10-31 | 1 | -0/+4 |
| | |||||
* | Patch #531629: Add multicall support. | Martin v. Löwis | 2003-10-31 | 1 | -1/+65 |
| | |||||
* | Patch #785689: Use basename in usage. Backported to 2.3. | Martin v. Löwis | 2003-10-31 | 1 | -1/+1 |
| | |||||
* | Patch #: Add POP3 over SSL support. | Martin v. Löwis | 2003-10-31 | 1 | -1/+89 |
| | |||||
* | Update test to include "sorted" in dir(list). | Raymond Hettinger | 2003-10-29 | 1 | -1/+2 |
| | |||||
* | Add list.sorted() classmethod. | Raymond Hettinger | 2003-10-29 | 2 | -0/+63 |
| | |||||
* | SF #775057, fix IDLE problem in about dialog | Neal Norwitz | 2003-10-28 | 1 | -1/+3 |
| | | | | | If the file doesn't exist, the code to display an error message was broken Will backport. | ||||
* | Fixed dis.disassemble_string(). | Armin Rigo | 2003-10-28 | 1 | -28/+24 |
| | | | | | Added dis.findlinestarts(). SF bug 811294 | ||||
* | Deleting cyclic object comparison. | Armin Rigo | 2003-10-28 | 4 | -69/+43 |
| | | | | | SF patch 825639 http://mail.python.org/pipermail/python-dev/2003-October/039445.html | ||||
* | Docstring fix: XHTML 1.0 entities are supported | Andrew M. Kuchling | 2003-10-27 | 1 | -3/+3 |
| | |||||
* | Patch #817854: Add missing operations for SSLFile. Fixes #792101. | Martin v. Löwis | 2003-10-27 | 1 | -0/+25 |
| | | | | Backported to 2.3. | ||||
* | Another instance of the same typo. | Steve Purcell | 2003-10-26 | 1 | -2/+2 |
| | |||||
* | Replace the window() example with pairwise() which demonstrates tee(). | Raymond Hettinger | 2003-10-26 | 1 | -13/+10 |
| | |||||
* | Minor improvements to itertools.tee(): | Raymond Hettinger | 2003-10-26 | 1 | -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 Purcell | 2003-10-26 | 1 | -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öwis | 2003-10-24 | 1 | -3/+3 |
| | |||||
* | [Bug #822668] tarfile raises an exception if the tarfile is gzipped and is ↵ | Andrew M. Kuchling | 2003-10-24 | 1 | -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.27 | Armin Rigo | 2003-10-24 | 1 | -1/+1 |
| | |||||
* | Fix a bug in the memory reallocation code of PyUnicode_TranslateCharmap(). | Walter Dörwald | 2003-10-24 | 1 | -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 Hettinger | 2003-10-24 | 1 | -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öwis | 2003-10-23 | 1 | -2/+10 |
| | | | | Backported to 2.3. | ||||
* | Remove unneeded import. | Guido van Rossum | 2003-10-22 | 1 | -1/+0 |
| | |||||
* | Replace a reduce() with sum(). | Raymond Hettinger | 2003-10-22 | 1 | -3/+2 |
| | |||||
* | Add docstring | Andrew M. Kuchling | 2003-10-22 | 1 | -0/+4 |
| | |||||
* | [Part of patch #648322] Delete the poll2() function, which uses a 'poll' ↵ | Andrew M. Kuchling | 2003-10-22 | 1 | -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, methods | Andrew M. Kuchling | 2003-10-22 | 1 | -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 Hylton | 2003-10-21 | 1 | -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 an | Fred Drake | 2003-10-21 | 1 | -5/+4 |
| | | | | | iterator where it probably shouldn't have. Closes SF bug #818861. | ||||
* | Show microseconds, milliseconds or seconds, whichever is most natural, | Guido van Rossum | 2003-10-20 | 1 | -1/+9 |
| | | | | rather than showing weird numbers like 8.4e+03 usec. | ||||
* | Fix a bunch of typos in documentation, docstrings and comments. | Walter Dörwald | 2003-10-20 | 21 | -23/+23 |
| | | | | (From SF patch #810751) | ||||
* | Patch #822994: Consolidate tests for self.closed. | Martin v. Löwis | 2003-10-18 | 1 | -18/+14 |
| | |||||
* | Implemented non-recursive SRE matching. | Gustavo Niemeyer | 2003-10-17 | 4 | -10/+62 |
| | |||||
* | Let library modules use the new keyword arguments for list.sort(). | Raymond Hettinger | 2003-10-16 | 7 | -24/+18 |
| | |||||
* | * list.sort() now supports three keyword arguments: cmp, key, and reverse. | Raymond Hettinger | 2003-10-16 | 1 | -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 Hylton | 2003-10-14 | 1 | -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 Cannon | 2003-10-13 | 1 | -0/+1 |
| | |||||
* | Patch #810914: Return absolute path for mkstemp. Fixes #810408. | Martin v. Löwis | 2003-10-12 | 2 | -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 Hettinger | 2003-10-12 | 1 | -2/+1 |
| | |||||
* | See rev. 1.42 for log message | Brett Cannon | 2003-10-12 | 1 | -6/+2 |
| | |||||
* | see rev. 1.13 for log message | Brett Cannon | 2003-10-12 | 1 | -5/+2 |
| | |||||
* | Ouch. Remove debug code containing obscenities. :-) | Guido van Rossum | 2003-10-10 | 1 | -3/+0 |
| | |||||
* | The fullmodname() function chopped off the first character if the | Guido van Rossum | 2003-10-10 | 1 | -1/+8 |
| | | | | | module existed in the current directory. Fix this. Backport candidate (I presume). | ||||
* | TCPServer: Fixed typo in class docstring. | Barry Warsaw | 2003-10-09 | 1 | -1/+1 |
| | |||||
* | TCPServer: Fixed typo in class docstring. | Barry Warsaw | 2003-10-09 | 1 | -1/+1 |
| | | | | Backport candidate. | ||||
* | Patch #817329: Use SC_OPEN_MAX to determine MAXFD. Backported to 2.3. | Martin v. Löwis | 2003-10-06 | 1 | -1/+4 |
| | |||||
* | SF patch [ 816787 ] urllib2.URLError don't calll IOError.__init__ | Jeremy Hylton | 2003-10-06 | 1 | -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 Hylton | 2003-10-06 | 1 | -0/+7 |
| |