Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - 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. | ||||
* | Generator's constructor: The documentation was incorrect regarding how | Barry Warsaw | 2003-11-19 | 1 | -3/+2 |
| | | | | | | header wrapping 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. | ||||
* | Fix for [ 782686 ]: new files used \r as the default line separator | Just van Rossum | 2003-11-18 | 1 | -13/+8 |
| | | | | instead of os.linesep. | ||||
* | Test the applesingle decoder. | Jack Jansen | 2003-11-18 | 1 | -0/+72 |
| | |||||
* | Patch #836434: Use dlopen/dlsym on AIX if available. Also disable | Martin v. Löwis | 2003-11-18 | 2 | -3/+23 |
| | | | | _XOPEN_SOURCE on AIX 4. | ||||
* | Patch #841807: Check whether a versioned libpython.so symlink is needed | Martin v. Löwis | 2003-11-18 | 1 | -1/+3 |
| | | | | in altbininstall. Backported to 2.3. | ||||
* | Patch #843088: Fix typos. Backported to 2.3. | Martin v. Löwis | 2003-11-18 | 2 | -3/+3 |
| | |||||
* | Patch #794400: Let PYTHONSTARTUP influence the compiler flags. | Martin v. Löwis | 2003-11-18 | 2 | -9/+16 |
| | |||||
* | Implement straightforward suggestions from gcc warnings (remove unused | Guido van Rossum | 2003-11-18 | 1 | -3/+2 |
| | | | | variable, add extra braces). | ||||
* | Documentation for set objects. | Raymond Hettinger | 2003-11-18 | 1 | -0/+37 |
| | |||||
* | Use PySequence_Contains() instead of direct access macro. | Raymond Hettinger | 2003-11-18 | 1 | -11/+5 |
| | |||||
* | Various fixups (most suggested by Armin Rigo). | Raymond Hettinger | 2003-11-17 | 3 | -40/+97 |
| | |||||
* | Fix output spacing typo | Raymond Hettinger | 2003-11-16 | 1 | -1/+1 |
| | |||||
* | * Migrate set() and frozenset() from the sandbox. | Raymond Hettinger | 2003-11-16 | 21 | -40/+2338 |
| | | | | | | | | * 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. | ||||
* | Fix typo | Raymond Hettinger | 2003-11-16 | 1 | -1/+1 |
| | |||||
* | Change ValueErrors to TypeErrors and add PyList_Check() assertions. | Raymond Hettinger | 2003-11-15 | 1 | -4/+6 |
| | |||||
* | Verify heappop argument is a list. | Raymond Hettinger | 2003-11-15 | 1 | -0/+5 |
| | |||||
* | Mention patch #841977: modulefinder didn't find extension modules in packages | Thomas Heller | 2003-11-14 | 1 | -0/+2 |
| | | | | Backported to release-maint23 | ||||
* | 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. | ||||
* | update_refs(): assert that incoming refcounts aren't 0. The comment | Tim Peters | 2003-11-14 | 1 | -0/+19 |
| | | | | | | | | for this function has always claimed that was true, but it wasn't verified before. For the latest batch of "double deallocation" bugs (stemming from weakref callbacks invoked by way of subtype_dealloc), this assert would have triggered (instead of waiting for _Py_ForgetReference to die with a segfault later). | ||||
* | subtype_dealloc(): Simplified overly contorted retracking logic. With | Tim Peters | 2003-11-13 | 1 | -6/+5 |
| | | | | | this change, I think subtype_dealloc is actually a smidgen less obscure than it was in 2.3 -- we got rid of a negation in an "if" <wink>. | ||||
* | subtype_dealloc(): A more complete fix for critical bug 840829 + | Tim Peters | 2003-11-13 | 2 | -6/+38 |
| | | | | | | expanded the test case with a piece that needs the more-complete fix. I'll backport this to 2.3 maint. | ||||
* | Various edits | Andrew M. Kuchling | 2003-11-13 | 1 | -7/+9 |
| | |||||
* | remove "support" for BerkeleyDB 3.1, it hasn't worked for a long time | Gregory P. Smith | 2003-11-13 | 2 | -10/+4 |
| | |||||
* | Patch #839877: Remove unused lambda expression. | Martin v. Löwis | 2003-11-13 | 1 | -4/+0 |
| | |||||
* | Patch #804543: strdup saved locales. Backported to 2.3. | Martin v. Löwis | 2003-11-13 | 2 | -2/+4 |
| | |||||
* | SF bug 840829: weakref callbacks and gc corrupt memory. | Tim Peters | 2003-11-12 | 3 | -1/+32 |
| | | | | | | | | | | | | | | | | | 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. | ||||
* | pyexpat stopped building on Windows -- whining about the lack of a | Tim Peters | 2003-11-12 | 1 | -2/+2 |
| | | | | | HAVE_MEMMOVE define. Just defined it on the cmdline (it doesn't include Python.h, and Fred doesn't want to change the code). | ||||
* | Fix typo | Raymond Hettinger | 2003-11-12 | 1 | -2/+2 |
| | |||||
* | Explain the advantages of reversed. | Raymond Hettinger | 2003-11-12 | 1 | -3/+6 |
| | |||||
* | Present each feature in terms of what makes it useful or desirable. | Raymond Hettinger | 2003-11-12 | 1 | -24/+68 |
| | |||||
* | 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 | 3 | -209/+242 |
| | | | | | | | | | | | 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 |
| | |||||
* | fix typo in markup | Fred Drake | 2003-11-10 | 1 | -1/+1 |
| | |||||
* | fix use of undefined markup | Fred Drake | 2003-11-10 | 1 | -1/+1 |
| | |||||
* | add missing "if" | Fred Drake | 2003-11-10 | 1 | -1/+1 |
| | |||||
* | Mention that getsid is new in 2.4. | Martin v. Löwis | 2003-11-10 | 1 | -1/+1 |
| | |||||
* | Patch #798297: Add IMAP THREAD command. | Martin v. Löwis | 2003-11-10 | 4 | -0/+38 |
| | |||||
* | Patch #839038: Add getsid(2). | Martin v. Löwis | 2003-11-10 | 5 | -7/+40 |
| | |||||
* | Plug tempfile.mktemp() hole (Iustin Pop). | Guido van Rossum | 2003-11-10 | 2 | -0/+4 |
| | |||||
* | 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) | ||||
* | fixed buggy comment as per SF bug #827856 | Alex Martelli | 2003-11-09 | 1 | -7/+7 |
| | | | | (same as commit of Sun Nov 2 to the release23-maint branch) | ||||
* | clarified (in the 5.14 summary) that tests and comparisons all chain, | Alex Martelli | 2003-11-09 | 1 | -3/+3 |
| | | | | | added a specific \ref to 5.9 in lieu of previous vague "see above". (same as commit of Sun Nov 2 to the release23-maint branch) | ||||
* | Add docs for readmodule_ex and its function-descriptors, fixing | Alex Martelli | 2003-11-09 | 1 | -5/+42 |
| | | | | | sf bug#812818. (same as commit of Sun Nov 2 to the release23-maint branch) |