summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* News item for the platform.py fix (r70594).Marc-André Lemburg2009-03-251-0/+4
|
* implement test skipping and expected failuresBenjamin Peterson2009-03-231-0/+2
| | | | patch by myself #1034053
* Issue #4688: Add a heuristic so that tuples and dicts containing onlyAntoine Pitrou2009-03-231-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 Dickinson2009-03-231-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 loopLars Gustäbel2009-03-221-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 #5536Benjamin Peterson2009-03-221-0/+3
|
* - Fix comment macro in python.manMatthias Klose2009-03-221-2/+2
|
* Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms.Mark Dickinson2009-03-201-0/+7
| | | | Backport of r70459.
* Issue 5381: Add object_pairs_hook to the json module.Raymond Hettinger2009-03-191-0/+3
|
* fix strange errors when setting attributes on tracebacks #4034Benjamin Peterson2009-03-181-0/+3
|
* Issue 4474: On platforms with sizeof(wchar_t) == 4 andMark Dickinson2009-03-181-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 specifierMark Dickinson2009-03-171-0/+3
| | | | to Decimal __format__ method.
* Fix bug in Decimal __format__ method that swapped left and rightMark Dickinson2009-03-171-0/+3
| | | | alignment.
* Issue 5237, Allow auto-numbered replacement fields in str.format() strings.Eric Smith2009-03-141-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 Pitrou2009-03-141-0/+3
| | | | character.
* Issue #5472: Fixed distutils.test_util tear downTarek Ziadé2009-03-111-0/+3
|
* Require implementations for warnings.showwarning() support the 'line' argument.Brett Cannon2009-03-111-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 Hettinger2009-03-101-0/+2
| | | | attribute.
* Add Chris Withers.Martin v. Löwis2009-03-081-1/+4
|
* Fixed issue #2638: Show a window constructed with tkSimpleDialog.Dialog onlyGuilherme Polo2009-03-071-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 theGuilherme Polo2009-03-071-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 Polo2009-03-071-0/+2
|
* Issue #5394: removed > 2.3 syntax from distutils.msvc9compilerTarek Ziadé2009-03-071-0/+3
|
* Issue #5385: Fixed mmap crash after resize failure on windows.Hirokazu Yamamoto2009-03-051-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 Yamamoto2009-03-031-0/+2
|
* Backport 70111: Let configparser use ordered dicts by default.Raymond Hettinger2009-03-031-0/+2
|
* Backport 70106: Add OrderedDict support to collections.namedtuple().Raymond Hettinger2009-03-031-0/+2
|
* Backport PEP 372: OrderedDict()Raymond Hettinger2009-03-031-0/+2
|
* give httplib.IncompleteRead a more sane repr #4308Benjamin Peterson2009-03-022-0/+4
|
* Adds an optional flags argument to re.split, re.sub and re.subn to beGregory P. Smith2009-03-021-0/+2
| | | | consistent with the other re module functions.
* fix a silly problem of caching gone wrong #5401Benjamin Peterson2009-03-021-0/+3
|
* Issue #1733986: Fixed mmap crash in accessing elements of second map objectHirokazu Yamamoto2009-02-281-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 bufferHirokazu Yamamoto2009-02-281-0/+3
| | | | overrun.
* Issues #1533164 and #5378: Added quiet and force-optimize options to ↵Tarek Ziadé2009-02-281-0/+5
| | | | Distutils bdist_rpm command
* Issue #5052: make Distutils compatible with 2.3 again.Tarek Ziadé2009-02-271-0/+2
|
* remove deprecated symtable.Symbol methodsBenjamin Peterson2009-02-261-0/+4
|
* Fixed #5316 : test failure in test_siteTarek Ziadé2009-02-251-0/+3
|
* - Link the shared python library with $(MODLIBS).Matthias Klose2009-02-221-0/+2
|
* Issue #5341: Fix a variety of spelling errors.Mark Dickinson2009-02-214-6/+6
|
* Issue #5247: Improve error message when unknown format codes are used when ↵Eric Smith2009-02-201-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 Sajip2009-02-191-2/+4
|
* Py3k warnings now automatically include -Qwarn for division.Raymond Hettinger2009-02-181-0/+3
|
* fixed the data_files inclusion behaviorTarek Ziadé2009-02-171-0/+1
|
* Issue #5282: Fixed mmap resize on 32bit windows and unix. When offset > 0,Hirokazu Yamamoto2009-02-171-0/+3
| | | | The file was resized to wrong size.
* Issue #5292: Fixed mmap crash on its boundary access m[len(m)].Hirokazu Yamamoto2009-02-171-0/+2
|
* Fixed #2279: distutils.sdist.add_defaults now add files listed in ↵Tarek Ziadé2009-02-161-0/+3
| | | | package_data and data_files
* remove some PyBytes_* aliases that are not in 3.xBenjamin Peterson2009-02-161-0/+2
|
* Added Ross Light to ACKS, for bug 4285 (r69331).Eric Smith2009-02-161-0/+1
|
* Issue #5260: Various portability and standards compliance fixes, optimizationsMark Dickinson2009-02-151-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-141-0/+3
| | | | directory.