Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue 5177: use socket.SO_REUSEADDR on multiprocessing SocketManager sockets | Jesse Noller | 2009-03-30 | 1 | -0/+24 |
| | |||||
* | Revert incorrect change. | R. David Murray | 2009-03-30 | 1 | -3/+6 |
| | |||||
* | don't rely on the order dict repr #5605 | Benjamin Peterson | 2009-03-30 | 1 | -2/+2 |
| | |||||
* | Convert import try/except to use test_support.import_module(). | R. David Murray | 2009-03-30 | 1 | -6/+3 |
| | |||||
* | add missing import | Benjamin Peterson | 2009-03-30 | 1 | -0/+1 |
| | |||||
* | add missing import | Benjamin Peterson | 2009-03-29 | 1 | -0/+1 |
| | |||||
* | thanks to guido's bytecode verifier, this is fixed | Benjamin Peterson | 2009-03-29 | 1 | -47/+0 |
| | |||||
* | this has been fixed since 2.6 (I love removing these) | Benjamin Peterson | 2009-03-29 | 1 | -14/+0 |
| | |||||
* | Add the ability to control the random seed used by regrtest.py -r. | Collin Winter | 2009-03-29 | 1 | -3/+15 |
| | | | | This adds a --randseed option, and makes regrtest.py -r indicate what random seed it's using so that that value can later be fed back to --randseed. This option is useful for tracking down test order-related issues found by make buildbottest, for example. | ||||
* | fix another name | Benjamin Peterson | 2009-03-26 | 1 | -1/+1 |
| | |||||
* | ** is required here | Benjamin Peterson | 2009-03-26 | 1 | -1/+1 |
| | |||||
* | add missing import | Benjamin Peterson | 2009-03-26 | 1 | -0/+1 |
| | |||||
* | must pass argument to get expected behavior ;) | Benjamin Peterson | 2009-03-26 | 1 | -1/+1 |
| | |||||
* | fix incorrect auto-translation of TestSkipped -> unittest.SkipTest | Benjamin Peterson | 2009-03-26 | 31 | -75/+75 |
| | |||||
* | fix naming | Benjamin Peterson | 2009-03-26 | 1 | -1/+1 |
| | |||||
* | remove test_support.TestSkipped and just use unittest.SkipTest | Benjamin Peterson | 2009-03-26 | 44 | -108/+99 |
| | |||||
* | apply the second part of #4242's patch; classify all the implementation ↵ | Benjamin Peterson | 2009-03-26 | 1 | -45/+109 |
| | | | | details in test_descr | ||||
* | rename TestCase.skip() to skipTest() because it causes annoying problems ↵ | Benjamin Peterson | 2009-03-26 | 1 | -2/+2 |
| | | | | with trial #5571 | ||||
* | add some useful utilities for skipping tests with unittest's new skipping ↵ | Benjamin Peterson | 2009-03-26 | 1 | -1/+67 |
| | | | | | | | ability most significantly apply a modified portion of the patch from #4242 with patches for skipping implementation details | ||||
* | add support for PyPy | Benjamin Peterson | 2009-03-26 | 1 | -0/+5 |
| | |||||
* | roll old test in with new one | Benjamin Peterson | 2009-03-26 | 1 | -18/+17 |
| | |||||
* | more and more implementations now support sys.subversion | Benjamin Peterson | 2009-03-26 | 1 | -3/+3 |
| | |||||
* | add much better tests for python version information parsing | Benjamin Peterson | 2009-03-26 | 1 | -19/+46 |
| | |||||
* | this can be slightly less ugly | Benjamin Peterson | 2009-03-25 | 1 | -1/+1 |
| | |||||
* | Remove the sys.version_info shortcut, since they cause the APIs | Marc-André Lemburg | 2009-03-25 | 1 | -20/+29 |
| | | | | | | | | | to return different information than the _sys_version() output used in previous Python versions. This also fixes issue5561: platform.python_version_tuple returns tuple of ints, should be strings Added more tests for the various platform functions. | ||||
* | this is better written using assertRaises | Benjamin Peterson | 2009-03-24 | 1 | -6/+2 |
| | |||||
* | comply with the evilJavaNamingScheme for attribute names | Benjamin Peterson | 2009-03-23 | 1 | -2/+2 |
| | | | | It seems my love of PEP 8 overrode the need for consistentcy | ||||
* | implement test skipping and expected failures | Benjamin Peterson | 2009-03-23 | 1 | -6/+124 |
| | | | | patch by myself #1034053 | ||||
* | Issue #4688: Add a heuristic so that tuples and dicts containing only | Antoine Pitrou | 2009-03-23 | 3 | -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) | ||||
* | AttributeError can be thrown during recursion errors | Benjamin Peterson | 2009-03-22 | 1 | -1/+1 |
| | |||||
* | Issue #5068: Fixed the tarfile._BZ2Proxy.read() method that would loop | Lars Gustäbel | 2009-03-22 | 1 | -0/+25 |
| | | | | | | 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. | ||||
* | Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms. | Mark Dickinson | 2009-03-20 | 2 | -6/+40 |
| | | | | Backport of r70459. | ||||
* | * Add clearer comment to initialization code. | Raymond Hettinger | 2009-03-19 | 1 | -0/+7 |
| | | | | | | * Add optional argument to popitem() -- modeled after Anthon van der Neut's C version. * Fix method markup in docs. | ||||
* | fix strange errors when setting attributes on tracebacks #4034 | Benjamin Peterson | 2009-03-18 | 1 | -8/+0 |
| | |||||
* | Fix bug in _insert_thousands_sep: too much zero padding could be | Mark Dickinson | 2009-03-18 | 1 | -0/+22 |
| | | | | added for 'n' formats with non-repeating thousands-separator. | ||||
* | Issue #2110: Add support for thousands separator and 'n' format specifier | Mark Dickinson | 2009-03-17 | 1 | -1/+97 |
| | | | | to Decimal __format__ method. | ||||
* | Fix bug in Decimal __format__ method that swapped left and right | Mark Dickinson | 2009-03-17 | 1 | -0/+6 |
| | | | | alignment. | ||||
* | 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 | 1 | -1/+77 |
| | | | | character. | ||||
* | Require implementations for warnings.showwarning() support the 'line' argument. | Brett Cannon | 2009-03-11 | 1 | -37/+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 |
| | |||||
* | 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. | ||||
* | Fix some more bugs caused by the backport from 3.x for importlib. | Brett Cannon | 2009-03-04 | 1 | -12/+12 |
| | | | | | 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 | 1 | -0/+17 |
| | | | | | Adds tests, switches from list to deque, fixes __reduce__ which was unnecessarily copying __keys. | ||||
* | Beef-up tests. | Raymond Hettinger | 2009-03-03 | 1 | -3/+6 |
| | |||||
* | Backport PEP 372: OrderedDict() | Raymond Hettinger | 2009-03-03 | 1 | -3/+192 |
| | |||||
* | give httplib.IncompleteRead a more sane repr #4308 | Benjamin Peterson | 2009-03-02 | 1 | -0/+19 |
| |