summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix namingBenjamin Peterson2009-03-261-1/+1
|
* remove test_support.TestSkipped and just use unittest.SkipTestBenjamin Peterson2009-03-2644-108/+99
|
* apply the second part of #4242's patch; classify all the implementation ↵Benjamin Peterson2009-03-261-45/+109
| | | | details in test_descr
* rename TestCase.skip() to skipTest() because it causes annoying problems ↵Benjamin Peterson2009-03-263-4/+4
| | | | with trial #5571
* add some useful utilities for skipping tests with unittest's new skipping ↵Benjamin Peterson2009-03-261-1/+67
| | | | | | | ability most significantly apply a modified portion of the patch from #4242 with patches for skipping implementation details
* add support for PyPyBenjamin Peterson2009-03-262-0/+20
|
* roll old test in with new oneBenjamin Peterson2009-03-261-18/+17
|
* more and more implementations now support sys.subversionBenjamin Peterson2009-03-262-16/+11
|
* add much better tests for python version information parsingBenjamin Peterson2009-03-262-24/+48
|
* remove uneeded functionBenjamin Peterson2009-03-261-11/+4
|
* Separate initialization from clearing.Raymond Hettinger2009-03-251-3/+4
|
* this can be slightly less uglyBenjamin Peterson2009-03-251-1/+1
|
* add shorthands for expected failures and unexpected successBenjamin Peterson2009-03-251-2/+2
|
* News item for the platform.py fix (r70594).Marc-André Lemburg2009-03-251-0/+4
|
* Remove the sys.version_info shortcut, since they cause the APIsMarc-André Lemburg2009-03-252-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 returnedSkip Montanaro2009-03-251-2/+2
|
* another style nitBenjamin Peterson2009-03-241-1/+2
|
* fix newline issue in test summaryBenjamin Peterson2009-03-241-1/+3
|
* this is better written using assertRaisesBenjamin Peterson2009-03-241-6/+2
|
* fix typoBenjamin Peterson2009-03-241-1/+1
|
* add new skipping things to __all__Benjamin Peterson2009-03-241-2/+4
|
* update docstringBenjamin Peterson2009-03-241-1/+2
|
* remove special metadataBenjamin Peterson2009-03-241-4/+0
|
* some cleanup and modernizationBenjamin Peterson2009-03-241-41/+50
|
* Add links to related resources.Raymond Hettinger2009-03-241-0/+6
|
* update from CVSBenjamin Peterson2009-03-231-1/+1
|
* forgot to document that setUp can be skipped (silly me...)Benjamin Peterson2009-03-231-2/+5
|
* refactor unittest docsBenjamin Peterson2009-03-231-389/+413
|
* comply with the evilJavaNamingScheme for attribute namesBenjamin Peterson2009-03-233-11/+11
| | | | It seems my love of PEP 8 overrode the need for consistentcy
* implement test skipping and expected failuresBenjamin Peterson2009-03-234-26/+443
| | | | 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
|
* The tracking statistics were actually too pessimisticAntoine Pitrou2009-03-232-3/+4
|
* Issue #4688: Add a heuristic so that tuples and dicts containing onlyAntoine Pitrou2009-03-2311-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 Hettinger2009-03-231-3/+4
|
* Issue #5512: speed up the long division algorithm for Python longs.Mark Dickinson2009-03-232-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 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-223-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 #5536Benjamin Peterson2009-03-222-35/+42
|
* - Fix comment macro in python.manMatthias Klose2009-03-221-2/+2
|
* There is no macro named SIZEOF_SSIZE_T. Should use SIZEOF_SIZE_T instead.Hirokazu Yamamoto2009-03-211-1/+1
|
* Rewrite Py_ARITHMETIC_RIGHT_SHIFT so that it's valid for all signedMark Dickinson2009-03-201-7/+11
| | | | integer types T, not just those for which "unsigned T" is legal.
* Add MutableSet example.Raymond Hettinger2009-03-201-1/+6
|
* Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms.Mark Dickinson2009-03-2017-64/+859
| | | | 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-193-5/+20
| | | | | | * Add optional argument to popitem() -- modeled after Anthon van der Neut's C version. * Fix method markup in docs.