Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * 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. | ||||
* | #5493: clarify __nonzero__ docs. | Georg Brandl | 2009-03-15 | 1 | -4/+5 |
| | |||||
* | #5496: fix docstring of lookup(). | Georg Brandl | 2009-03-15 | 1 | -1/+1 |
| | |||||
* | fix tuple.index() error message #5495 | Benjamin Peterson | 2009-03-15 | 1 | -1/+1 |
| | |||||
* | Make marshalling errors a little more informative as to what went wrong | Nick Coghlan | 2009-03-15 | 1 | -13/+13 |
| | |||||
* | 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 | 4 | -50/+198 |
| | | | | | | | | | | | | | | | | | 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 | 3 | -33/+131 |
| | | | | character. | ||||
* | #5486: typos. | Georg Brandl | 2009-03-13 | 5 | -11/+11 |
| | |||||
* | Issue 5477: Fix buglet in the itertools documentation. | Raymond Hettinger | 2009-03-12 | 1 | -3/+4 |
| | |||||
* | Add reference to solution for a commonly asked question. | Raymond Hettinger | 2009-03-12 | 1 | -0/+3 |
| | |||||
* | Issue #5472: Fixed distutils.test_util tear down | Tarek Ziadé | 2009-03-11 | 2 | -0/+5 |
| | |||||
* | Require implementations for warnings.showwarning() support the 'line' argument. | Brett Cannon | 2009-03-11 | 5 | -107/+22 |
| | | | | | | Was a DeprecationWarning for not supporting it since Python 2.6. Closes issue #3652. | ||||
* | Fix typo. | Raymond Hettinger | 2009-03-10 | 1 | -1/+1 |
| | |||||
* | For collections.deque() objects, expose the maxlen parameter as a read-only ↵ | Raymond Hettinger | 2009-03-10 | 4 | -1/+36 |
| | | | | attribute. | ||||
* | Small optimization for corner case where maxlen==0. | Raymond Hettinger | 2009-03-10 | 2 | -1/+41 |
| | |||||
* | Update the decimal FAQ for the from_float() classmethod and improve the ↵ | Raymond Hettinger | 2009-03-10 | 1 | -34/+15 |
| | | | | recipe for remove_exponent() to make it cut and pasteable. | ||||
* | Add a version tag to the decimal module. | Raymond Hettinger | 2009-03-10 | 1 | -0/+2 |
| | |||||
* | Clarify the meaning of normal and subnormal. | Raymond Hettinger | 2009-03-10 | 1 | -3/+7 |
| | |||||
* | Update url for the spec. | Raymond Hettinger | 2009-03-10 | 1 | -1/+1 |
| | |||||
* | Fix markup. | Raymond Hettinger | 2009-03-10 | 1 | -1/+1 |
| | |||||
* | gzip and bz2 are context managers | Benjamin Peterson | 2009-03-09 | 2 | -0/+10 |
| | |||||
* | Add missing space. | Georg Brandl | 2009-03-09 | 1 | -1/+1 |
| | |||||
* | #5458: add a note when we started to raise RuntimeErrors. | Georg Brandl | 2009-03-09 | 1 | -1/+6 |
| | |||||
* | Add cross-reference to the collections docs. | Raymond Hettinger | 2009-03-09 | 1 | -0/+6 |
| |