Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Py_DECREF: Add `do { ... } while (0)' to avoid compiler warnings. | Matthias Klose | 2009-04-04 | 1 | -0/+2 |
| | |||||
* | - Issue #3845: In PyRun_SimpleFileExFlags avoid invalid memory access with | Matthias Klose | 2009-04-04 | 1 | -0/+3 |
| | | | | short file names. | ||||
* | Issue #2396: backport the memoryview object. | Antoine Pitrou | 2009-04-02 | 1 | -0/+2 |
| | |||||
* | PyErr_NormalizeException may not set an error, so convert the PyErr_SetObject | Georg Brandl | 2009-04-02 | 1 | -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 Murray | 2009-04-02 | 1 | -0/+3 |
| | | | | Fixes issue2625. | ||||
* | Add custom initializer argument to multiprocess.Manager*, courtesy of lekma | Jesse Noller | 2009-04-02 | 1 | -0/+3 |
| | |||||
* | Issue 3551: Raise ValueError if the size causes ERROR_NO_SYSTEM_RESOURCES | Jesse Noller | 2009-04-02 | 1 | -0/+4 |
| | |||||
* | Better exception messages for unittest assert methods. | Michael Foord | 2009-04-02 | 1 | -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 that | Brett Cannon | 2009-04-02 | 1 | -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 Noller | 2009-04-02 | 1 | -0/+2 |
| | | | | Martin Loewis | ||||
* | In Pdb, stop assigning values to __builtin__._ which interferes with the one ↵ | Georg Brandl | 2009-04-01 | 1 | -0/+3 |
| | | | | commonly installed by gettext. | ||||
* | Add NEWS item. | Georg Brandl | 2009-04-01 | 1 | -0/+2 |
| | |||||
* | test_warnings ironically had a single test that was not protecting the warnings | Brett Cannon | 2009-04-01 | 1 | -0/+2 |
| | | | | filter and was resetting it. | ||||
* | test_logging was blindly clearing the warnings filter. This caused | Brett Cannon | 2009-04-01 | 1 | -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 Hettinger | 2009-04-01 | 1 | -0/+2 |
| | |||||
* | _warnings was importing itself to get an attribute. That's bad if warnings gets | Brett Cannon | 2009-04-01 | 1 | -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 the | Brett Cannon | 2009-04-01 | 1 | -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 Brandl | 2009-04-01 | 1 | -0/+2 |
| | |||||
* | Fix issue 2522. locale.format now checks that it is passed | R. David Murray | 2009-04-01 | 1 | -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 Brandl | 2009-04-01 | 1 | -1/+4 |
| | |||||
* | #5228: add pickle support to functools.partial | Jack Diederich | 2009-03-31 | 1 | -0/+2 |
| | |||||
* | #5583 Added optional Extensions in Distutils | Tarek Ziadé | 2009-03-31 | 1 | -0/+3 |
| | |||||
* | Issue 5619: Pass MS CRT debug flags into subprocesses | Jesse Noller | 2009-03-31 | 1 | -0/+3 |
| | |||||
* | fix Thread.ident when it is the main thread or a dummy thread #5632 | Benjamin Peterson | 2009-03-31 | 1 | -0/+3 |
| | |||||
* | Add NEWS entry for regrtest change. | R. David Murray | 2009-03-31 | 1 | -0/+4 |
| | |||||
* | missed the news/acks for netbsd patch | Jesse Noller | 2009-03-31 | 1 | -0/+2 |
| | |||||
* | The unittest.TestCase.assertEqual() now displays the differences in lists, | Gregory P. Smith | 2009-03-31 | 1 | -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 Yamamoto | 2009-03-31 | 1 | -0/+2 |
| | |||||
* | merge in patch from tim golden to fix contextmanager support for mp.Lock() | Jesse Noller | 2009-03-30 | 1 | -0/+3 |
| | |||||
* | Fix issue #4865: add /Library/Python/2.7/site-packages to | Ronald Oussoren | 2009-03-30 | 1 | -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 sockets | Jesse Noller | 2009-03-30 | 1 | -0/+4 |
| | |||||
* | Adjusted _tkinter to compile without warnings when WITH_THREAD is not | Guilherme Polo | 2009-03-27 | 1 | -0/+3 |
| | | | | defined (part of issue #5035) | ||||
* | 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 |
| | |||||
* | 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. | ||||
* | 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. |