Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert heapq.py to a C implementation. | Raymond Hettinger | 2003-11-08 | 1 | -0/+2 |
| | |||||
* | Implement and apply PEP 322, reverse iteration | Raymond Hettinger | 2003-11-06 | 1 | -0/+3 |
| | |||||
* | Add traceback.format_exc(). | Neil Schemenauer | 2003-11-05 | 1 | -0/+3 |
| | |||||
* | missing news entry | Anthony Baxter | 2003-11-04 | 1 | -0/+2 |
| | |||||
* | Patch #531629: Add multicall support. | Martin v. Löwis | 2003-10-31 | 1 | -0/+2 |
| | |||||
* | Patch #: Add POP3 over SSL support. | Martin v. Löwis | 2003-10-31 | 2 | -0/+3 |
| | |||||
* | Add list.sorted() classmethod. | Raymond Hettinger | 2003-10-29 | 1 | -2/+2 |
| | |||||
* | note db2pickle/pickle2db tweaks | Skip Montanaro | 2003-10-28 | 1 | -0/+2 |
| | |||||
* | Deleting cyclic object comparison. | Armin Rigo | 2003-10-28 | 1 | -0/+4 |
| | | | | | SF patch 825639 http://mail.python.org/pipermail/python-dev/2003-October/039445.html | ||||
* | regressing the performance bugfix -- Guido wants the performance bug left | Alex Martelli | 2003-10-25 | 1 | -3/+0 |
| | | | | alone, because there can be no guarantee re the semantics of += vs + . | ||||
* | document the performance fix to builtin_sum(). | Alex Martelli | 2003-10-25 | 1 | -0/+6 |
| | |||||
* | Added itertools.tee() | Raymond Hettinger | 2003-10-24 | 1 | -15/+18 |
| | | | | | | 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. | ||||
* | - The pwd module incorrectly advertised its struct type as | Guido van Rossum | 2003-10-23 | 1 | -0/+4 |
| | | | | | struct_pwent; this has been renamed to struct_passwd. (The old name is still supported for backwards compatibility.) | ||||
* | Note the update to Expat 1.95.7. | Fred Drake | 2003-10-21 | 1 | -0/+2 |
| | |||||
* | Fix a bunch of typos in documentation, docstrings and comments. | Walter Dörwald | 2003-10-20 | 1 | -2/+2 |
| | | | | (From SF patch #810751) | ||||
* | Modified the Py_RETURN_* macros by having the statements surrounded by {} in | Brett Cannon | 2003-10-19 | 1 | -0/+3 |
| | | | | | order to prevent any unexpected surprises from someone using them in a conditional without using curly braces (e.g., ``if (foo) Py_RETURN_TRUE``. | ||||
* | Patch #823259: Update spec file: | Martin v. Löwis | 2003-10-19 | 1 | -12/+25 |
| | | | | | | | | | | | - skip building HTML documentation if it is not available. - Removal of patches, which can't be referenced from a build directly from the tar-file. - Using the RPM tmp directory macro for the buildroot location. - Ensuring that the clean directive doesn't accidentally delete the users root directory or another directory. - --enable-unicode=ucs4 in configure line. Backported to 2.3. | ||||
* | Make CObjects mutable. Fixes #477441. | Martin v. Löwis | 2003-10-19 | 1 | -0/+2 |
| | |||||
* | Implemented non-recursive SRE matching. | Gustavo Niemeyer | 2003-10-17 | 1 | -0/+4 |
| | |||||
* | * list.sort() now supports three keyword arguments: cmp, key, and reverse. | Raymond Hettinger | 2003-10-16 | 1 | -0/+9 |
| | | | | | | | 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. | ||||
* | Added Bjorn Pettersen for initial conversion of Lib/platform.py's docstring ↵ | Brett Cannon | 2003-10-14 | 1 | -0/+1 |
| | | | | to LaTeX. | ||||
* | Extended tuple's C API to include a new function, PyTuple_Pack() that is | Raymond Hettinger | 2003-10-12 | 1 | -0/+5 |
| | | | | | useful for rapidly building argument tuples without having to invoke the more sophisticated machinery of Py_BuildValue(). | ||||
* | Patch #810914: Return absolute path for mkstemp. Fixes #810408. | Martin v. Löwis | 2003-10-12 | 1 | -0/+2 |
| | | | | | This should not be backported to 2.3, as it might break backwards compatibility. | ||||
* | Add mention of urlparse becoming RFC 2396 compliant. | Brett Cannon | 2003-10-12 | 1 | -0/+2 |
| | |||||
* | See rev. 1.250 for log message | Brett Cannon | 2003-10-12 | 1 | -0/+1 |
| | |||||
* | SF patch #820195 by Wojtek Walczak (gminick at users.sourceforge.net): | Guido van Rossum | 2003-10-08 | 2 | -0/+4 |
| | | | | make obj.__contains__() returns True/False instead of 1/0. | ||||
* | SF bug #812202: randint is always even | Raymond Hettinger | 2003-10-05 | 1 | -0/+8 |
| | | | | | | | * Added C coded getrandbits(k) method that runs in linear time. * Call the new method from randrange() for ranges >= 2**53. * Adds a warning for generators not defining getrandbits() whenever they have a call to randrange() with too large of a population. | ||||
* | two bugfixes | Anthony Baxter | 2003-10-04 | 1 | -0/+4 |
| | |||||
* | A helper to dump info about the current frame, | Jeremy Hylton | 2003-10-03 | 1 | -0/+9 |
| | | | | assuming it is the variable f. | ||||
* | forgot the NEWS blurb about the change to csv.DictReader | Skip Montanaro | 2003-10-03 | 1 | -0/+4 |
| | |||||
* | Patch #813445: Add IPPROTO_IPV6 option to the socketmodule. | Martin v. Löwis | 2003-10-03 | 1 | -0/+2 |
| | |||||
* | updates from sean | Anthony Baxter | 2003-09-24 | 3 | -51/+12 |
| | |||||
* | Added codec for bz2 compression. | Raymond Hettinger | 2003-09-23 | 1 | -0/+3 |
| | |||||
* | New for unittest.py. | Guido van Rossum | 2003-09-22 | 1 | -0/+2 |
| | |||||
* | Added test whether wchar_t is signed or not. A signed wchar_t is not usable ↵ | Marc-André Lemburg | 2003-09-22 | 1 | -0/+4 |
| | | | | as internal unicode type base for Py_UNICODE since the unicode implementation assumes an unsigned type. | ||||
* | Patch #800697: Add readline.clear_history. | Martin v. Löwis | 2003-09-20 | 1 | -0/+2 |
| | |||||
* | Patch #707167: Pass dircache exceptions to the caller. Fixes #682813. | Martin v. Löwis | 2003-09-20 | 1 | -0/+3 |
| | | | | Not backported because of behaviour change. | ||||
* | Double-fix of crash in Unicode freelist handling. | Jeremy Hylton | 2003-09-16 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | If a length-1 Unicode string was in the freelist and it was uninitialized or pointed to a very large (magnitude) negative number, the check unicode_latin1[unicode->str[0]] == unicode could cause a segmentation violation, e.g. unicode->str[0] is 0xcbcbcbcb. Fix this in two ways: 1. Change guard befor unicode_latin1[] to test against 256U. If I understand correctly, the unsigned long used to store UCS4 on my box was getting converted to a signed long to compare with the signed constant 256. 2. Change _PyUnicode_New() to make sure the first element of str is always initialized to zero. There are several places in the code where the caller can exit with an error before initializing any of str, which would leave junk in str[0]. Also, silence a compiler warning on pointer vs. int arithmetic. Bug fix candidate. | ||||
* | SF #662923 | Raymond Hettinger | 2003-09-12 | 1 | -0/+4 |
| | | | | | | Add support for the iterator and mapping protocols. For Py2.3, this was done for shelve, dumbdbm and other mapping objects, but not for bsddb and dbhash which were inadvertently missed. | ||||
* | select.select() now accepts a sequence (as defined by PySequence_Fast()) for | Brett Cannon | 2003-09-10 | 1 | -0/+2 |
| | | | | | | its first three arguments. Closes RFE #798046 . | ||||
* | mention new module doc display feature of pydoc in libref and NEWS | Skip Montanaro | 2003-09-10 | 1 | -0/+5 |
| | |||||
* | SF bug 801631: file.truncate fault on windows. | Tim Peters | 2003-09-07 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | file_truncate(): C doesn't define what fflush(fp) does if fp is open for update, and the preceding I/O operation on fp was input. On Windows, fflush() actually changes the current file position then. Because Windows doesn't support ftruncate() directly, this not only caused Python's file.truncate() to change the file position (contra our docs), it also caused the file not to change size. Repaired by getting the initial file position at the start, restoring it at the end, and tossing all the complicated micro-efficiency checks trying to avoid "provably unnecessary" seeks. file.truncate() can't be a frequent operation, and seeking to the current file position has got to be cheap anyway. Bugfix candidate. | ||||
* | **kwds arg was missing from __init__ for Dict{Reader,Writer} classes. | Skip Montanaro | 2003-09-06 | 1 | -0/+3 |
| | | | | will backport. | ||||
* | NEWS about email package 794466 patch. | Barry Warsaw | 2003-09-03 | 1 | -1/+2 |
| | |||||
* | Document the Pynche patch. | Barry Warsaw | 2003-09-03 | 1 | -0/+3 |
| | |||||
* | SF 798269: bug fix for doctest (sf bug id: 798254 | Raymond Hettinger | 2003-09-02 | 1 | -0/+1 |
| | | | | (Contributed by Alexander Belopolsky.) | ||||
* | SF patch #798534: Windows os.popen needlessly gets a reference to tuple () | Raymond Hettinger | 2003-09-01 | 1 | -0/+1 |
| | | | | | | (Contributed by Andrew Gaul.) Fixes a minor leak. | ||||
* | SF patch #798467: Update docstring of has_key for bool changes | Raymond Hettinger | 2003-09-01 | 1 | -0/+1 |
| | | | | (Contributed by George Yoshida.) | ||||
* | SF bug #795506: Wrong handling of string format code for float values. | Raymond Hettinger | 2003-08-27 | 1 | -0/+3 |
| | | | | | | Adding missing support for '%F'. Will backport to 2.3.1. | ||||
* | Added doubled word warnings. | Raymond Hettinger | 2003-08-25 | 1 | -0/+2 |
| |