summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* update from CVSBenjamin Peterson2009-03-231-1/+1
|
* comply with the evilJavaNamingScheme for attribute namesBenjamin Peterson2009-03-232-9/+9
| | | | It seems my love of PEP 8 overrode the need for consistentcy
* implement test skipping and expected failuresBenjamin Peterson2009-03-232-21/+313
| | | | patch by myself #1034053
* complain when there's no last exceptionBenjamin Peterson2009-03-231-0/+2
|
* revert r70552; wrong fixBenjamin Peterson2009-03-231-5/+5
|
* fix very old names for exception terms #5543Benjamin Peterson2009-03-231-5/+5
|
* Issue #4688: Add a heuristic so that tuples and dicts containing onlyAntoine Pitrou2009-03-233-0/+194
| | | | | | | | | 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)
* Make imported name private and wrap long-line.Raymond Hettinger2009-03-231-3/+4
|
* Move initialization of root link to __init__.Raymond Hettinger2009-03-231-1/+2
|
* Add more comments. Improve variable names.Raymond Hettinger2009-03-231-32/+44
| | | | | | Make links clearer by using a Link object instead of a list. Use proxy links to avoid circular references.
* AttributeError can be thrown during recursion errorsBenjamin Peterson2009-03-221-1/+1
|
* Issue #5068: Fixed the tarfile._BZ2Proxy.read() method that would loopLars Gustäbel2009-03-222-5/+29
| | | | | | 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-35/+39
|
* Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms.Mark Dickinson2009-03-202-6/+40
| | | | Backport of r70459.
* Fix typoRaymond Hettinger2009-03-191-2/+2
|
* * Add implementation notes.Raymond Hettinger2009-03-191-13/+25
| | | | | * Re-order methods so that those touching the underlying data structure come first and the derived methods come last.
* * Add clearer comment to initialization code.Raymond Hettinger2009-03-192-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 Hettinger2009-03-194-9/+51
|
* Improve implementation with better underlying data structureRaymond Hettinger2009-03-191-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 themBenjamin Peterson2009-03-191-9/+9
|
* Use mixin methods where possible. (2.7 only -- these don't all exist in 3.0)Raymond Hettinger2009-03-181-18/+7
|
* fix strange errors when setting attributes on tracebacks #4034Benjamin Peterson2009-03-181-8/+0
|
* Attempt to fix Solaris buildbot failure on test_localeAntoine Pitrou2009-03-181-1/+1
|
* Fix bug in _insert_thousands_sep: too much zero padding could beMark Dickinson2009-03-182-2/+23
| | | | added for 'n' formats with non-repeating thousands-separator.
* merge json library with simplejson 2.0.9 (issue 4136)Bob Ippolito2009-03-1712-410/+550
|
* Issue #2110: Add support for thousands separator and 'n' format specifierMark Dickinson2009-03-172-84/+299
| | | | to Decimal __format__ method.
* Fix bug in Decimal __format__ method that swapped left and rightMark Dickinson2009-03-172-2/+8
| | | | alignment.
* Added skip for old MSVC.Hirokazu Yamamoto2009-03-151-0/+4
|
* Move the previously local import of threading to module level.Georg Brandl2009-03-151-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 Smith2009-03-141-51/+51
| | | | to the original backport from py3k.
* Issue 5237, Allow auto-numbered replacement fields in str.format() strings.Eric Smith2009-03-142-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 Pitrou2009-03-142-33/+128
| | | | character.
* Issue #5472: Fixed distutils.test_util tear downTarek Ziadé2009-03-111-0/+2
|
* Require implementations for warnings.showwarning() support the 'line' argument.Brett Cannon2009-03-112-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 Hettinger2009-03-101-0/+10
| | | | attribute.
* Small optimization for corner case where maxlen==0.Raymond Hettinger2009-03-101-1/+18
|
* Add a version tag to the decimal module.Raymond Hettinger2009-03-101-0/+2
|
* Fixed issue #2638: Show a window constructed with tkSimpleDialog.Dialog onlyGuilherme Polo2009-03-071-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 Polo2009-03-071-1/+1
|
* Issue #5394: removed > 2.3 syntax from distutils.msvc9compilerTarek Ziadé2009-03-072-16/+42
|
* mmap.resize for anonymous map is not working yet, so changed to real file ↵Hirokazu Yamamoto2009-03-051-15/+5
| | | | mapping...
* Issue #5385: Fixed mmap crash after resize failure on windows.Hirokazu Yamamoto2009-03-051-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 5194Ronald Oussoren2009-03-046-12/+25
|
* Fix some more bugs caused by the backport from 3.x for importlib.Brett Cannon2009-03-042-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 Hettinger2009-03-032-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 Yamamoto2009-03-031-32/+15
|
* Minor simplification.Raymond Hettinger2009-03-031-1/+1
|
* Make the underlying data structure more private.Raymond Hettinger2009-03-031-15/+19
|
* Beef-up tests.Raymond Hettinger2009-03-031-3/+6
|
* Backport 70111: Let configparser use ordered dicts by default.Raymond Hettinger2009-03-031-1/+7
|