Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | News item for the platform.py fix (r70594). | Marc-André Lemburg | 2009-03-25 | 1 | -0/+4 |
| | |||||
* | implement test skipping and expected failures | Benjamin Peterson | 2009-03-23 | 1 | -0/+2 |
| | | | | patch by myself #1034053 | ||||
* | Issue #4688: Add a heuristic so that tuples and dicts containing only | Antoine Pitrou | 2009-03-23 | 1 | -0/+5 |
| | | | | | | | | | untrackable objects are not tracked by the garbage collector. This can reduce the size of collections and therefore the garbage collection overhead on long-running programs, depending on their particular use of datatypes. (trivia: this makes the "binary_trees" benchmark from the Computer Language Shootout 40% faster) | ||||
* | Issue #5512: speed up the long division algorithm for Python longs. | Mark Dickinson | 2009-03-23 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | The basic algorithm remains the same; the most significant speedups come from the following three changes: (1) normalize by shifting instead of multiplying and dividing (2) the old algorithm usually did an unnecessary extra iteration of the outer loop; remove this. As a special case, this means that long divisions with a single-digit result run twice as fast as before. (3) make inner loop much tighter. Various benchmarks show speedups of between 50% and 150% for long integer divisions and modulo operations. | ||||
* | Issue #5068: Fixed the tarfile._BZ2Proxy.read() method that would loop | Lars Gustäbel | 2009-03-22 | 1 | -0/+5 |
| | | | | | | forever on incomplete input. That caused tarfile.open() to hang when used with mode 'r' or 'r:bz2' and a fileobj argument that contained no data or partial bzip2 compressed data. | ||||
* | close the file even if an exception occurs #5536 | Benjamin Peterson | 2009-03-22 | 1 | -0/+3 |
| | |||||
* | - Fix comment macro in python.man | Matthias Klose | 2009-03-22 | 1 | -2/+2 |
| | |||||
* | Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms. | Mark Dickinson | 2009-03-20 | 1 | -0/+7 |
| | | | | Backport of r70459. | ||||
* | Issue 5381: Add object_pairs_hook to the json module. | Raymond Hettinger | 2009-03-19 | 1 | -0/+3 |
| | |||||
* | fix strange errors when setting attributes on tracebacks #4034 | Benjamin Peterson | 2009-03-18 | 1 | -0/+3 |
| | |||||
* | Issue 4474: On platforms with sizeof(wchar_t) == 4 and | Mark Dickinson | 2009-03-18 | 1 | -0/+4 |
| | | | | | | | | | sizeof(Py_UNICODE) == 2, PyUnicode_FromWideChar now converts each character outside the BMP to the appropriate surrogate pair. Thanks Victor Stinner for the patch. (backport of r70452 from py3k to trunk) | ||||
* | Issue #2110: Add support for thousands separator and 'n' format specifier | Mark Dickinson | 2009-03-17 | 1 | -0/+3 |
| | | | | to Decimal __format__ method. | ||||
* | Fix bug in Decimal __format__ method that swapped left and right | Mark Dickinson | 2009-03-17 | 1 | -0/+3 |
| | | | | alignment. | ||||
* | Issue 5237, Allow auto-numbered replacement fields in str.format() strings. | Eric Smith | 2009-03-14 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | For simple uses for str.format(), this makes the typing easier. Hopfully this will help in the adoption of str.format(). For example: 'The {} is {}'.format('sky', 'blue') You can mix and matcth auto-numbering and named replacement fields: 'The {} is {color}'.format('sky', color='blue') But you can't mix and match auto-numbering and specified numbering: 'The {0} is {}'.format('sky', 'blue') ValueError: cannot switch from manual field specification to automatic field numbering Will port to 3.1. | ||||
* | Issue #1222: locale.format() bug when the thousands separator is a space ↵ | Antoine Pitrou | 2009-03-14 | 1 | -0/+3 |
| | | | | character. | ||||
* | Issue #5472: Fixed distutils.test_util tear down | Tarek Ziadé | 2009-03-11 | 1 | -0/+3 |
| | |||||
* | Require implementations for warnings.showwarning() support the 'line' argument. | Brett Cannon | 2009-03-11 | 1 | -0/+3 |
| | | | | | | Was a DeprecationWarning for not supporting it since Python 2.6. Closes issue #3652. | ||||
* | For collections.deque() objects, expose the maxlen parameter as a read-only ↵ | Raymond Hettinger | 2009-03-10 | 1 | -0/+2 |
| | | | | attribute. | ||||
* | Add Chris Withers. | Martin v. Löwis | 2009-03-08 | 1 | -1/+4 |
| | |||||
* | Fixed issue #2638: Show a window constructed with tkSimpleDialog.Dialog only | Guilherme Polo | 2009-03-07 | 1 | -0/+4 |
| | | | | | after it is has been populated and properly configured in order to prevent window flashing. | ||||
* | Fixed issue #4792: Prevent a segfault in _tkinter by using the | Guilherme Polo | 2009-03-07 | 1 | -0/+4 |
| | | | | | guaranteed to be safe interp argument given to the PythonCmd in place of the Tcl interpreter taken from a PythonCmd_ClientData. | ||||
* | Fixed issue #5193: Guarantee that Tkinter.Text.search returns a string. | Guilherme Polo | 2009-03-07 | 1 | -0/+2 |
| | |||||
* | Issue #5394: removed > 2.3 syntax from distutils.msvc9compiler | Tarek Ziadé | 2009-03-07 | 1 | -0/+3 |
| | |||||
* | Issue #5385: Fixed mmap crash after resize failure on windows. | Hirokazu Yamamoto | 2009-03-05 | 1 | -0/+2 |
| | | | | | Now uses NULL instead of INVALID_HANDLE_VALUE as invalid map handle because CreateFileMapping returns NULL when error occurs. | ||||
* | Issue #5179: Fixed subprocess handle leak on failure on windows. | Hirokazu Yamamoto | 2009-03-03 | 1 | -0/+2 |
| | |||||
* | Backport 70111: Let configparser use ordered dicts by default. | Raymond Hettinger | 2009-03-03 | 1 | -0/+2 |
| | |||||
* | Backport 70106: Add OrderedDict support to collections.namedtuple(). | Raymond Hettinger | 2009-03-03 | 1 | -0/+2 |
| | |||||
* | Backport PEP 372: OrderedDict() | Raymond Hettinger | 2009-03-03 | 1 | -0/+2 |
| | |||||
* | give httplib.IncompleteRead a more sane repr #4308 | Benjamin Peterson | 2009-03-02 | 2 | -0/+4 |
| | |||||
* | Adds an optional flags argument to re.split, re.sub and re.subn to be | Gregory P. Smith | 2009-03-02 | 1 | -0/+2 |
| | | | | consistent with the other re module functions. | ||||
* | fix a silly problem of caching gone wrong #5401 | Benjamin Peterson | 2009-03-02 | 1 | -0/+3 |
| | |||||
* | Issue #1733986: Fixed mmap crash in accessing elements of second map object | Hirokazu Yamamoto | 2009-02-28 | 1 | -0/+3 |
| | | | | with same tagname but larger size than first map. (Windows) | ||||
* | Issue #5386: mmap.write_byte didn't check map size, so it could cause buffer | Hirokazu Yamamoto | 2009-02-28 | 1 | -0/+3 |
| | | | | overrun. | ||||
* | Issues #1533164 and #5378: Added quiet and force-optimize options to ↵ | Tarek Ziadé | 2009-02-28 | 1 | -0/+5 |
| | | | | Distutils bdist_rpm command | ||||
* | Issue #5052: make Distutils compatible with 2.3 again. | Tarek Ziadé | 2009-02-27 | 1 | -0/+2 |
| | |||||
* | remove deprecated symtable.Symbol methods | Benjamin Peterson | 2009-02-26 | 1 | -0/+4 |
| | |||||
* | Fixed #5316 : test failure in test_site | Tarek Ziadé | 2009-02-25 | 1 | -0/+3 |
| | |||||
* | - Link the shared python library with $(MODLIBS). | Matthias Klose | 2009-02-22 | 1 | -0/+2 |
| | |||||
* | Issue #5341: Fix a variety of spelling errors. | Mark Dickinson | 2009-02-21 | 4 | -6/+6 |
| | |||||
* | Issue #5247: Improve error message when unknown format codes are used when ↵ | Eric Smith | 2009-02-20 | 1 | -0/+4 |
| | | | | using str.format() with str, unicode, long, int, and float arguments. | ||||
* | #5287: Add exception handling around findCaller() call to help out IronPython. | Vinay Sajip | 2009-02-19 | 1 | -2/+4 |
| | |||||
* | Py3k warnings now automatically include -Qwarn for division. | Raymond Hettinger | 2009-02-18 | 1 | -0/+3 |
| | |||||
* | fixed the data_files inclusion behavior | Tarek Ziadé | 2009-02-17 | 1 | -0/+1 |
| | |||||
* | Issue #5282: Fixed mmap resize on 32bit windows and unix. When offset > 0, | Hirokazu Yamamoto | 2009-02-17 | 1 | -0/+3 |
| | | | | The file was resized to wrong size. | ||||
* | Issue #5292: Fixed mmap crash on its boundary access m[len(m)]. | Hirokazu Yamamoto | 2009-02-17 | 1 | -0/+2 |
| | |||||
* | Fixed #2279: distutils.sdist.add_defaults now add files listed in ↵ | Tarek Ziadé | 2009-02-16 | 1 | -0/+3 |
| | | | | package_data and data_files | ||||
* | remove some PyBytes_* aliases that are not in 3.x | Benjamin Peterson | 2009-02-16 | 1 | -0/+2 |
| | |||||
* | Added Ross Light to ACKS, for bug 4285 (r69331). | Eric Smith | 2009-02-16 | 1 | -0/+1 |
| | |||||
* | Issue #5260: Various portability and standards compliance fixes, optimizations | Mark Dickinson | 2009-02-15 | 1 | -0/+4 |
| | | | | | | | and cleanups in Objects/longobject.c. The most significant change is that longs now use less memory: average savings are 2 bytes per long on 32-bit systems and 6 bytes per long on 64-bit systems. (This memory saving already exists in py3k.) | ||||
* | Fix for #5257: refactored all tests in distutils, so they use a temporary ↵ | Tarek Ziadé | 2009-02-14 | 1 | -0/+3 |
| | | | | directory. |