Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SF bug 839548: Bug in type's GC handling causes segfaults. | Tim Peters | 2003-11-20 | 1 | -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 Win32 | Raymond Hettinger | 2003-11-20 | 1 | -0/+1 |
| | |||||
* | Fix typo fix. | Walter Dörwald | 2003-11-20 | 1 | -4/+4 |
| | |||||
* | Patch #831747: Add skip_accept_encoding parameter to putrequest. | Martin v. Löwis | 2003-11-19 | 1 | -3/+7 |
| | |||||
* | Get rid of MacOS9 support. Paths are still hard-coded, that'll be fixed | Jack Jansen | 2003-11-19 | 1 | -16/+3 |
| | | | | later. | ||||
* | Remove deprecation of sets.Set.update(). | Raymond Hettinger | 2003-11-19 | 1 | -4/+0 |
| | |||||
* | Fix typos. | Walter Dörwald | 2003-11-19 | 1 | -4/+4 |
| | |||||
* | - After an exception, run.py was not setting the exception vector. Noam | Kurt B. Kaiser | 2003-11-19 | 2 | -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 wrapping | Barry Warsaw | 2003-11-19 | 1 | -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_applesingle | Jack Jansen | 2003-11-18 | 1 | -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 a | Just van Rossum | 2003-11-18 | 1 | -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 Jansen | 2003-11-18 | 1 | -0/+72 |
| | |||||
* | Various fixups (most suggested by Armin Rigo). | Raymond Hettinger | 2003-11-17 | 1 | -0/+25 |
| | |||||
* | * Migrate set() and frozenset() from the sandbox. | Raymond Hettinger | 2003-11-16 | 13 | -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 packages | Thomas Heller | 2003-11-14 | 1 | -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 Peters | 2003-11-13 | 1 | -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öwis | 2003-11-13 | 1 | -4/+0 |
| | |||||
* | SF bug 840829: weakref callbacks and gc corrupt memory. | Tim Peters | 2003-11-12 | 1 | -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 Hettinger | 2003-11-12 | 1 | -0/+4 |
| | |||||
* | Improve the implementation of itertools.tee(). | Raymond Hettinger | 2003-11-12 | 1 | -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 Schemenauer | 2003-11-11 | 1 | -4/+1 |
| | |||||
* | Patch #798297: Add IMAP THREAD command. | Martin v. Löwis | 2003-11-10 | 1 | -0/+11 |
| | |||||
* | mktemp() shouldn't rely on os.path.exists(), which can return False if | Guido van Rossum | 2003-11-10 | 1 | -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 # 821896 | Alex Martelli | 2003-11-09 | 1 | -2/+3 |
| | | | | (same as commit of Sun Nov 2 to the release23-maint branch) | ||||
* | fixed obvious bug in _send_header as per SF bug #831271 | Alex Martelli | 2003-11-09 | 1 | -2/+1 |
| | | | | (same as commit of Sun Nov 2 to the release23-maint branch) | ||||
* | Update test to handle list.__reversed__(). | Raymond Hettinger | 2003-11-08 | 1 | -0/+1 |
| | |||||
* | SF bug #835457: Small typo in logging documentation | Raymond Hettinger | 2003-11-08 | 1 | -1/+1 |
| | |||||
* | Convert heapq.py to a C implementation. | Raymond Hettinger | 2003-11-08 | 2 | -256/+0 |
| | |||||
* | Overallocate target buffer for normalization more early. Fixes #834676. | Martin v. Löwis | 2003-11-06 | 1 | -0/+3 |
| | | | | Backported to 2.3. | ||||
* | Implement and apply PEP 322, reverse iteration | Raymond Hettinger | 2003-11-06 | 6 | -8/+24 |
| | |||||
* | Add traceback.format_exc(). | Neil Schemenauer | 2003-11-05 | 2 | -7/+14 |
| | |||||
* | * 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 |
| |