Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Silence a compiler warning. | Raymond Hettinger | 2009-03-19 | 1 | -1/+1 |
| | |||||
* | Issue 5381: Add object_pairs_hook to the json module. | Raymond Hettinger | 2009-03-19 | 7 | -23/+150 |
| | |||||
* | 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 |
| | |||||
* | a much better example | Benjamin Peterson | 2009-03-18 | 1 | -18/+7 |
| | |||||
* | fix strange errors when setting attributes on tracebacks #4034 | Benjamin Peterson | 2009-03-18 | 4 | -23/+22 |
| | |||||
* | Attempt to fix Solaris buildbot failure on test_locale | Antoine Pitrou | 2009-03-18 | 1 | -1/+1 |
| | |||||
* | Issue 4474: On platforms with sizeof(wchar_t) == 4 and | Mark Dickinson | 2009-03-18 | 3 | -0/+105 |
| | | | | | | | | | sizeof(Py_UNICODE) == 2, PyUnicode_FromWideChar now converts each character outside the BMP to the appropriate surrogate pair. Thanks Victor Stinner for the patch. (backport of r70452 from py3k to trunk) | ||||
* | Updated openssl support on VC6. (openssl-0.9.6g is old, cannot compile with ↵ | Hirokazu Yamamoto | 2009-03-18 | 3 | -49/+89 |
| | | | | | | | _ssl.c) If you use http://svn.python.org/projects/external/openssl-0.9.8g, Perl is not needed. This scheme was ported from PCBuild. | ||||
* | 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 | 13 | -543/+2391 |
| | |||||
* | Issue #2110: Add support for thousands separator and 'n' format specifier | Mark Dickinson | 2009-03-17 | 3 | -84/+302 |
| | | | | to Decimal __format__ method. | ||||
* | I thought this was begging for an example | Benjamin Peterson | 2009-03-17 | 1 | -0/+19 |
| | |||||
* | Fix bug in Decimal __format__ method that swapped left and right | Mark Dickinson | 2009-03-17 | 3 | -2/+11 |
| | | | | alignment. | ||||
* | Add token markup. | Georg Brandl | 2009-03-16 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | Fix markup in re docs and give a mail address in regex howto, so that | Georg Brandl | 2009-03-15 | 2 | -2/+2 |
| | | | | the recommendation to send suggestions to the author can be followed. | ||||
* | #5469: add with statement to list of name-binding constructs. | Georg Brandl | 2009-03-15 | 1 | -3/+4 |
| | |||||
* | #5276: document IDLESTARTUP and .Idle.py. | Georg Brandl | 2009-03-15 | 1 | -0/+18 |
| | |||||
* | #5478: fix copy-paste oversight in function signature. | Georg Brandl | 2009-03-15 | 1 | -1/+1 |
| | |||||
* | #5488: add missing struct member. | Georg Brandl | 2009-03-15 | 1 | -0/+1 |
| | |||||
* | #5491: clarify nested() semantics. | Georg Brandl | 2009-03-15 | 1 | -4/+5 |
| | |||||
* | Fix a small nit in the error message if bool() falls back on __len__ and it ↵ | Georg Brandl | 2009-03-15 | 1 | -1/+5 |
| | | | | returns the wrong type: it would tell the user that __nonzero__ should return bool or int. |