Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * Add clearer comment to initialization code. | Raymond Hettinger | 2009-03-19 | 2 | -3/+10 |
| | | | | | | * Add optional argument to popitem() -- modeled after Anthon van der Neut's C version. * Fix method markup in docs. | ||||
* | Issue 5381: Add object_pairs_hook to the json module. | Raymond Hettinger | 2009-03-19 | 4 | -9/+51 |
| | |||||
* | Improve implementation with better underlying data structure | Raymond Hettinger | 2009-03-19 | 1 | -14/+26 |
| | | | | | | for O(1) deletions. Big-Oh performance now the same as regular dictionaries. Uses a doubly-linked list instead of a list/seq to track insertion order. | ||||
* | close files after comparing them | Benjamin Peterson | 2009-03-19 | 1 | -9/+9 |
| | |||||
* | Use mixin methods where possible. (2.7 only -- these don't all exist in 3.0) | Raymond Hettinger | 2009-03-18 | 1 | -18/+7 |
| | |||||
* | fix strange errors when setting attributes on tracebacks #4034 | Benjamin Peterson | 2009-03-18 | 1 | -8/+0 |
| | |||||
* | Attempt to fix Solaris buildbot failure on test_locale | Antoine Pitrou | 2009-03-18 | 1 | -1/+1 |
| | |||||
* | Fix bug in _insert_thousands_sep: too much zero padding could be | Mark Dickinson | 2009-03-18 | 2 | -2/+23 |
| | | | | added for 'n' formats with non-repeating thousands-separator. | ||||
* | merge json library with simplejson 2.0.9 (issue 4136) | Bob Ippolito | 2009-03-17 | 12 | -410/+550 |
| | |||||
* | Issue #2110: Add support for thousands separator and 'n' format specifier | Mark Dickinson | 2009-03-17 | 2 | -84/+299 |
| | | | | to Decimal __format__ method. | ||||
* | Fix bug in Decimal __format__ method that swapped left and right | Mark Dickinson | 2009-03-17 | 2 | -2/+8 |
| | | | | alignment. | ||||
* | Added skip for old MSVC. | Hirokazu Yamamoto | 2009-03-15 | 1 | -0/+4 |
| | |||||
* | Move the previously local import of threading to module level. | Georg Brandl | 2009-03-15 | 1 | -8/+8 |
| | | | | | | | This is cleaner and avoids lockups in obscure cases where a Queue is instantiated while the import lock is already held by another thread. OKed by Tim Peters. | ||||
* | Unicode format tests weren't actually testing unicode. This was probably due ↵ | Eric Smith | 2009-03-14 | 1 | -51/+51 |
| | | | | to the original backport from py3k. | ||||
* | Issue 5237, Allow auto-numbered replacement fields in str.format() strings. | Eric Smith | 2009-03-14 | 2 | -6/+66 |
| | | | | | | | | | | | | | | | | | 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 | 2 | -33/+128 |
| | | | | character. | ||||
* | Issue #5472: Fixed distutils.test_util tear down | Tarek Ziadé | 2009-03-11 | 1 | -0/+2 |
| | |||||
* | Require implementations for warnings.showwarning() support the 'line' argument. | Brett Cannon | 2009-03-11 | 2 | -55/+0 |
| | | | | | | 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/+10 |
| | | | | attribute. | ||||
* | Small optimization for corner case where maxlen==0. | Raymond Hettinger | 2009-03-10 | 1 | -1/+18 |
| | |||||
* | Add a version tag to the decimal module. | Raymond Hettinger | 2009-03-10 | 1 | -0/+2 |
| | |||||
* | Fixed issue #2638: Show a window constructed with tkSimpleDialog.Dialog only | Guilherme Polo | 2009-03-07 | 1 | -2/+6 |
| | | | | | after it is has been populated and properly configured in order to prevent window flashing. | ||||
* | Fixed issue #5193: Guarantee that Tkinter.Text.search returns a string. | Guilherme Polo | 2009-03-07 | 1 | -1/+1 |
| | |||||
* | Issue #5394: removed > 2.3 syntax from distutils.msvc9compiler | Tarek Ziadé | 2009-03-07 | 2 | -16/+42 |
| | |||||
* | mmap.resize for anonymous map is not working yet, so changed to real file ↵ | Hirokazu Yamamoto | 2009-03-05 | 1 | -15/+5 |
| | | | | mapping... | ||||
* | Issue #5385: Fixed mmap crash after resize failure on windows. | Hirokazu Yamamoto | 2009-03-05 | 1 | -1/+33 |
| | | | | | Now uses NULL instead of INVALID_HANDLE_VALUE as invalid map handle because CreateFileMapping returns NULL when error occurs. | ||||
* | Fixes issues 3883 and 5194 | Ronald Oussoren | 2009-03-04 | 6 | -12/+25 |
| | |||||
* | Fix some more bugs caused by the backport from 3.x for importlib. | Brett Cannon | 2009-03-04 | 2 | -34/+21 |
| | | | | | Do a more exact copy of the final 3.x code to resolve bugs and add appropriate tests. | ||||
* | Backport 70140, 70141, 70143, and 70144. | Raymond Hettinger | 2009-03-03 | 2 | -5/+26 |
| | | | | | Adds tests, switches from list to deque, fixes __reduce__ which was unnecessarily copying __keys. | ||||
* | Issue #5179: Fixed subprocess handle leak on failure on windows. | Hirokazu Yamamoto | 2009-03-03 | 1 | -32/+15 |
| | |||||
* | Minor simplification. | Raymond Hettinger | 2009-03-03 | 1 | -1/+1 |
| | |||||
* | Make the underlying data structure more private. | Raymond Hettinger | 2009-03-03 | 1 | -15/+19 |
| | |||||
* | Beef-up tests. | Raymond Hettinger | 2009-03-03 | 1 | -3/+6 |
| | |||||
* | Backport 70111: Let configparser use ordered dicts by default. | Raymond Hettinger | 2009-03-03 | 1 | -1/+7 |
| | |||||
* | Backport 70106: Add OrderedDict support to collections.namedtuple(). | Raymond Hettinger | 2009-03-03 | 1 | -5/+5 |
| | |||||
* | Backport PEP 372: OrderedDict() | Raymond Hettinger | 2009-03-03 | 2 | -6/+285 |
| | |||||
* | give httplib.IncompleteRead a more sane repr #4308 | Benjamin Peterson | 2009-03-02 | 2 | -2/+30 |
| | |||||
* | removing the force-optimized option as discussed in #1533164 | Tarek Ziadé | 2009-03-02 | 2 | -43/+3 |
| | |||||
* | Adds an optional flags argument to re.split, re.sub and re.subn to be | Gregory P. Smith | 2009-03-02 | 1 | -6/+6 |
| | | | | consistent with the other re module functions. | ||||
* | fix a silly problem of caching gone wrong #5401 | Benjamin Peterson | 2009-03-02 | 1 | -4/+8 |
| | |||||
* | Fix 3k-style metaclass syntax in docstrings. | Georg Brandl | 2009-02-28 | 1 | -3/+6 |
| | |||||
* | Backport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} with | Jeffrey Yasskin | 2009-02-28 | 5 | -63/+42 |
| | | | | | | POP_JUMP_IF_{TRUE,FALSE} and JUMP_IF_{TRUE,FALSE}_OR_POP. This avoids executing a POP_TOP on each conditional and sometimes allows the peephole optimizer to skip a JUMP_ABSOLUTE entirely. It speeds up list comprehensions significantly. | ||||
* | Issue #1733986: Fixed mmap crash in accessing elements of second map object | Hirokazu Yamamoto | 2009-02-28 | 1 | -0/+28 |
| | | | | 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/+32 |
| | | | | overrun. | ||||
* | Issues #1533164 and #5378: Added quiet and force-optimize options to ↵ | Tarek Ziadé | 2009-02-28 | 2 | -6/+179 |
| | | | | Distutils bdist_rpm command | ||||
* | Issue #5052: make Distutils compatible with 2.3 again. | Tarek Ziadé | 2009-02-27 | 6 | -38/+183 |
| | |||||
* | Give mapping views a usable repr. | Raymond Hettinger | 2009-02-27 | 1 | -0/+3 |
| | |||||
* | Fix a bug where code was trying to index an int. Left over from the situation | Brett Cannon | 2009-02-27 | 2 | -4/+7 |
| | | | | | | from using str.rpartition to str.rindex. Closes Issue5213. | ||||
* | removed unused import | Tarek Ziadé | 2009-02-26 | 1 | -1/+1 |
| | |||||
* | remove deprecated symtable.Symbol methods | Benjamin Peterson | 2009-02-26 | 2 | -31/+0 |
| |