summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* - Py_DECREF: Add `do { ... } while (0)' to avoid compiler warnings.Matthias Klose2009-04-041-0/+2
|
* - Issue #3845: In PyRun_SimpleFileExFlags avoid invalid memory access withMatthias Klose2009-04-041-0/+3
| | | | short file names.
* Issue #2396: backport the memoryview object.Antoine Pitrou2009-04-021-0/+2
|
* PyErr_NormalizeException may not set an error, so convert the PyErr_SetObjectGeorg Brandl2009-04-021-0/+3
| | | | call on hitting the recursion limit into just assigning it to the arguments provided.
* Add missing iteritems() call to the for loop in mailbox.MH.get_message().R. David Murray2009-04-021-0/+3
| | | | Fixes issue2625.
* Add custom initializer argument to multiprocess.Manager*, courtesy of lekmaJesse Noller2009-04-021-0/+3
|
* Issue 3551: Raise ValueError if the size causes ERROR_NO_SYSTEM_RESOURCESJesse Noller2009-04-021-0/+4
|
* Better exception messages for unittest assert methods.Michael Foord2009-04-021-0/+8
| | | | | | | | | | | | - unittest.assertNotEqual() now uses the inequality operator (!=) instead of the equality operator. - Default assertTrue and assertFalse messages are now useful. - TestCase has a longMessage attribute. This defaults to False, but if set to True useful error messages are shown in addition to explicit messages passed to assert methods. Issue #5663
* PyImport_AppendInittab() took a char * as a first argument even though thatBrett Cannon2009-04-021-0/+3
| | | | | | | string was stored beyond the life of the call. Changed the signature to be const char * to help make this point. Closes issue #1419652.
* Issue 3110: Additional protection for SEM_VALUE_MAX on platforms, thanks to ↵Jesse Noller2009-04-021-0/+2
| | | | Martin Loewis
* In Pdb, stop assigning values to __builtin__._ which interferes with the one ↵Georg Brandl2009-04-011-0/+3
| | | | commonly installed by gettext.
* Add NEWS item.Georg Brandl2009-04-011-0/+2
|
* test_warnings ironically had a single test that was not protecting the warningsBrett Cannon2009-04-011-0/+2
| | | | filter and was resetting it.
* test_logging was blindly clearing the warnings filter. This causedBrett Cannon2009-04-011-0/+2
| | | | | PendingDeprecationWarnings to be spewed all over by unittest.failIf*(). Fix moves over to using warnings.catch_warning to protect the warnings filter.
* Issue #5647: MutableSet.__iand__() no longer mutates self during iteration.Raymond Hettinger2009-04-011-0/+2
|
* _warnings was importing itself to get an attribute. That's bad if warnings getsBrett Cannon2009-04-011-0/+2
| | | | | | called in a thread that was spawned by an import itself. Last part to close #1665206.
* The cgitb module had imports in its functions. This can cause deadlock with theBrett Cannon2009-04-011-0/+4
| | | | | | import lock if called from within a thread that was triggered by an import. Partially fixes issue #1665206.
* The SimpleXMLRPCServer's CGI handler now runs like a pony.Georg Brandl2009-04-011-0/+2
|
* Fix issue 2522. locale.format now checks that it is passedR. David Murray2009-04-011-0/+4
| | | | | exactly one pattern, which avoids mysterious errors where it had seemed to fail to do localization.
* Issue #5635: Fix running test_sys with tracing enabled.Georg Brandl2009-04-011-1/+4
|
* #5228: add pickle support to functools.partialJack Diederich2009-03-311-0/+2
|
* #5583 Added optional Extensions in DistutilsTarek Ziadé2009-03-311-0/+3
|
* Issue 5619: Pass MS CRT debug flags into subprocessesJesse Noller2009-03-311-0/+3
|
* fix Thread.ident when it is the main thread or a dummy thread #5632Benjamin Peterson2009-03-311-0/+3
|
* Add NEWS entry for regrtest change.R. David Murray2009-03-311-0/+4
|
* missed the news/acks for netbsd patchJesse Noller2009-03-311-0/+2
|
* The unittest.TestCase.assertEqual() now displays the differences in lists,Gregory P. Smith2009-03-311-0/+9
| | | | | | | | | | tuples, dicts and sets on failure. Many new handy type and comparison specific assert* methods have been added that fail with error messages actually useful for debugging. Contributed in by Google and completed with help from mfoord and GvR at PyCon 2009 sprints. Discussion lives in http://bugs.python.org/issue2578.
* Issue #5387: Fixed mmap.move crash by integer overflow.Hirokazu Yamamoto2009-03-311-0/+2
|
* merge in patch from tim golden to fix contextmanager support for mp.Lock()Jesse Noller2009-03-301-0/+3
|
* Fix issue #4865: add /Library/Python/2.7/site-packages toRonald Oussoren2009-03-301-2/+4
| | | | | sys.path on OSX, to make it easier to share (some) installed packages between the system install and a user install.
* Issue 5177: use socket.SO_REUSEADDR on multiprocessing SocketManager socketsJesse Noller2009-03-301-0/+4
|
* Adjusted _tkinter to compile without warnings when WITH_THREAD is notGuilherme Polo2009-03-271-0/+3
| | | | defined (part of issue #5035)
* 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
|
* 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.
* 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.