Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 3 | -4/+4 |
| | | | | 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 | 2 | -0/+20 |
| | |||||
* | 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 | 2 | -16/+11 |
| | |||||
* | add much better tests for python version information parsing | Benjamin Peterson | 2009-03-26 | 2 | -24/+48 |
| | |||||
* | remove uneeded function | Benjamin Peterson | 2009-03-26 | 1 | -11/+4 |
| | |||||
* | Separate initialization from clearing. | Raymond Hettinger | 2009-03-25 | 1 | -3/+4 |
| | |||||
* | this can be slightly less ugly | Benjamin Peterson | 2009-03-25 | 1 | -1/+1 |
| | |||||
* | add shorthands for expected failures and unexpected success | Benjamin Peterson | 2009-03-25 | 1 | -2/+2 |
| | |||||
* | News item for the platform.py fix (r70594). | Marc-André Lemburg | 2009-03-25 | 1 | -0/+4 |
| | |||||
* | Remove the sys.version_info shortcut, since they cause the APIs | Marc-André Lemburg | 2009-03-25 | 2 | -28/+33 |
| | | | | | | | | | 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. | ||||
* | clarify the type of data returned | Skip Montanaro | 2009-03-25 | 1 | -2/+2 |
| | |||||
* | another style nit | Benjamin Peterson | 2009-03-24 | 1 | -1/+2 |
| | |||||
* | fix newline issue in test summary | Benjamin Peterson | 2009-03-24 | 1 | -1/+3 |
| | |||||
* | this is better written using assertRaises | Benjamin Peterson | 2009-03-24 | 1 | -6/+2 |
| | |||||
* | fix typo | Benjamin Peterson | 2009-03-24 | 1 | -1/+1 |
| | |||||
* | add new skipping things to __all__ | Benjamin Peterson | 2009-03-24 | 1 | -2/+4 |
| | |||||
* | update docstring | Benjamin Peterson | 2009-03-24 | 1 | -1/+2 |
| | |||||
* | remove special metadata | Benjamin Peterson | 2009-03-24 | 1 | -4/+0 |
| | |||||
* | some cleanup and modernization | Benjamin Peterson | 2009-03-24 | 1 | -41/+50 |
| | |||||
* | Add links to related resources. | Raymond Hettinger | 2009-03-24 | 1 | -0/+6 |
| | |||||
* | update from CVS | Benjamin Peterson | 2009-03-23 | 1 | -1/+1 |
| | |||||
* | forgot to document that setUp can be skipped (silly me...) | Benjamin Peterson | 2009-03-23 | 1 | -2/+5 |
| | |||||
* | refactor unittest docs | Benjamin Peterson | 2009-03-23 | 1 | -389/+413 |
| | |||||
* | comply with the evilJavaNamingScheme for attribute names | Benjamin Peterson | 2009-03-23 | 3 | -11/+11 |
| | | | | It seems my love of PEP 8 overrode the need for consistentcy | ||||
* | implement test skipping and expected failures | Benjamin Peterson | 2009-03-23 | 4 | -26/+443 |
| | | | | patch by myself #1034053 | ||||
* | complain when there's no last exception | Benjamin Peterson | 2009-03-23 | 1 | -0/+2 |
| | |||||
* | revert r70552; wrong fix | Benjamin Peterson | 2009-03-23 | 1 | -5/+5 |
| | |||||
* | fix very old names for exception terms #5543 | Benjamin Peterson | 2009-03-23 | 1 | -5/+5 |
| | |||||
* | The tracking statistics were actually too pessimistic | Antoine Pitrou | 2009-03-23 | 2 | -3/+4 |
| | |||||
* | Issue #4688: Add a heuristic so that tuples and dicts containing only | Antoine Pitrou | 2009-03-23 | 11 | -2/+401 |
| | | | | | | | | | 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 Hettinger | 2009-03-23 | 1 | -3/+4 |
| | |||||
* | Issue #5512: speed up the long division algorithm for Python longs. | Mark Dickinson | 2009-03-23 | 2 | -94/+156 |
| | | | | | | | | | | | | | | | 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. | ||||
* | Move initialization of root link to __init__. | Raymond Hettinger | 2009-03-23 | 1 | -1/+2 |
| | |||||
* | Add more comments. Improve variable names. | Raymond Hettinger | 2009-03-23 | 1 | -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 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 | 3 | -5/+34 |
| | | | | | | 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 | 2 | -35/+42 |
| | |||||
* | - Fix comment macro in python.man | Matthias Klose | 2009-03-22 | 1 | -2/+2 |
| | |||||
* | There is no macro named SIZEOF_SSIZE_T. Should use SIZEOF_SIZE_T instead. | Hirokazu Yamamoto | 2009-03-21 | 1 | -1/+1 |
| | |||||
* | Rewrite Py_ARITHMETIC_RIGHT_SHIFT so that it's valid for all signed | Mark Dickinson | 2009-03-20 | 1 | -7/+11 |
| | | | | integer types T, not just those for which "unsigned T" is legal. | ||||
* | Add MutableSet example. | Raymond Hettinger | 2009-03-20 | 1 | -1/+6 |
| | |||||
* | Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms. | Mark Dickinson | 2009-03-20 | 17 | -64/+859 |
| | | | | Backport of r70459. | ||||
* | Fix typo | Raymond Hettinger | 2009-03-19 | 1 | -2/+2 |
| | |||||
* | * Add implementation notes. | Raymond Hettinger | 2009-03-19 | 1 | -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 Hettinger | 2009-03-19 | 3 | -5/+20 |
| | | | | | | * Add optional argument to popitem() -- modeled after Anthon van der Neut's C version. * Fix method markup in docs. |