Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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) | ||||
* | Avoid giving advice that's bad for security, as per SF bug #823515 | Alex Martelli | 2003-11-09 | 1 | -1/+3 |
| | | | | (same as commit of Sun Nov 2 to the release23-maint branch) | ||||
* | Document Py_RETURN_NONE. | Brett Cannon | 2003-11-09 | 1 | -0/+4 |
| | |||||
* | Add 'see also' section pointing to the PEP | Andrew M. Kuchling | 2003-11-08 | 1 | -0/+5 |
| | |||||
* | Add some recent changes | Andrew M. Kuchling | 2003-11-08 | 1 | -1/+46 |
| | |||||
* | Update test to handle list.__reversed__(). | Raymond Hettinger | 2003-11-08 | 1 | -0/+1 |
| | |||||
* | Improve the reverse list iterator to free memory as soon as the iterator | Raymond Hettinger | 2003-11-08 | 1 | -1/+4 |
| | | | | is exhausted. | ||||
* | SF bug #835457: Small typo in logging documentation | Raymond Hettinger | 2003-11-08 | 1 | -1/+1 |
| | |||||
* | Minor code fixup. Make sure that len reflects the current list size. | Raymond Hettinger | 2003-11-08 | 1 | -0/+1 |
| | |||||
* | Convert heapq.py to a C implementation. | Raymond Hettinger | 2003-11-08 | 7 | -256/+367 |
| | |||||
* | Optimize reversed(list) using a custom iterator. | Raymond Hettinger | 2003-11-07 | 2 | -4/+98 |
| | |||||
* | Fix the problem addressed by patch | Michael W. Hudson | 2003-11-07 | 1 | -1/+1 |
| | | | | | | [ 819012 ] Fix for former/latter confusion in Extending documentation although not by using supplied patch. | ||||
* | Add a new looping idiom | Raymond Hettinger | 2003-11-07 | 1 | -0/+15 |
| | |||||
* | Patch #837322: Clarify owning, borrowing, stealing. Backported to 2.3. | Martin v. Löwis | 2003-11-06 | 1 | -6/+10 |
| | |||||
* | Overallocate target buffer for normalization more early. Fixes #834676. | Martin v. Löwis | 2003-11-06 | 2 | -5/+10 |
| | | | | Backported to 2.3. | ||||
* | Implement and apply PEP 322, reverse iteration | Raymond Hettinger | 2003-11-06 | 12 | -9/+198 |
| | |||||
* | Add traceback.format_exc(). | Neil Schemenauer | 2003-11-05 | 4 | -7/+22 |
| | |||||
* | Make undetected error on stack unwind a fatal error. | Jeremy Hylton | 2003-11-05 | 1 | -4/+4 |
| | |||||
* | missing news entry | Anthony Baxter | 2003-11-04 | 1 | -0/+2 |
| | |||||
* | * SF patch 835100 - C++ // comments are not allowed. Use /* */ | Gregory P. Smith | 2003-11-03 | 1 | -8/+8 |
| | |||||
* | Fix compiler warning about possible use of n without assignment. | Jeremy Hylton | 2003-11-03 | 1 | -5/+6 |
| | | | | Also fix use of n for two different variables in two different blocks. | ||||
* | * Use weakref's of DBCursor objects for the iterator cursors to avoid a | Gregory P. Smith | 2003-11-03 | 3 | -52/+159 |
| | | | | | | | | | | 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 #834444: add versionadd to new functions | Raymond Hettinger | 2003-11-02 | 1 | -0/+2 |
| | | | | (Contributed by George Yoshida.) | ||||
* | 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 | 3 | -9/+155 |
| | | | | | * Add support for multiple iterator/generator objects at once on the simple bsddb _DBWithCursor interface. | ||||
* | Fix a tuple memory leak when raising DB, DBEnv and DBCursor "object | Gregory P. Smith | 2003-11-02 | 1 | -17/+15 |
| | | | | | | | | | has been closed" exceptions. Adds a DBCursorClosedError exception in the closed cursor case for future use in fixing the legacy bsddb interface deadlock problems due to its use of cursors with DB_INIT_LOCK | DB_THREAD support enabled. | ||||
* | Use PyTuple_Pack() to simplify enumerate(). | Raymond Hettinger | 2003-11-02 | 1 | -5/+1 |
| |