summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* Silence a compiler warning.Raymond Hettinger2009-03-191-1/+1
|
* Issue 5381: Add object_pairs_hook to the json module.Raymond Hettinger2009-03-197-23/+150
|
* Improve implementation with better underlying data structureRaymond Hettinger2009-03-191-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 themBenjamin Peterson2009-03-191-9/+9
|
* Use mixin methods where possible. (2.7 only -- these don't all exist in 3.0)Raymond Hettinger2009-03-181-18/+7
|
* a much better exampleBenjamin Peterson2009-03-181-18/+7
|
* fix strange errors when setting attributes on tracebacks #4034Benjamin Peterson2009-03-184-23/+22
|
* Attempt to fix Solaris buildbot failure on test_localeAntoine Pitrou2009-03-181-1/+1
|
* Issue 4474: On platforms with sizeof(wchar_t) == 4 andMark Dickinson2009-03-183-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 Yamamoto2009-03-183-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 beMark Dickinson2009-03-182-2/+23
| | | | added for 'n' formats with non-repeating thousands-separator.
* merge json library with simplejson 2.0.9 (issue 4136)Bob Ippolito2009-03-1713-543/+2391
|
* Issue #2110: Add support for thousands separator and 'n' format specifierMark Dickinson2009-03-173-84/+302
| | | | to Decimal __format__ method.
* I thought this was begging for an exampleBenjamin Peterson2009-03-171-0/+19
|
* Fix bug in Decimal __format__ method that swapped left and rightMark Dickinson2009-03-173-2/+11
| | | | alignment.
* Add token markup.Georg Brandl2009-03-161-1/+1
|
* Added skip for old MSVC.Hirokazu Yamamoto2009-03-151-0/+4
|
* Move the previously local import of threading to module level.Georg Brandl2009-03-151-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 thatGeorg Brandl2009-03-152-2/+2
| | | | the recommendation to send suggestions to the author can be followed.
* #5469: add with statement to list of name-binding constructs.Georg Brandl2009-03-151-3/+4
|
* #5276: document IDLESTARTUP and .Idle.py.Georg Brandl2009-03-151-0/+18
|
* #5478: fix copy-paste oversight in function signature.Georg Brandl2009-03-151-1/+1
|
* #5488: add missing struct member.Georg Brandl2009-03-151-0/+1
|
* #5491: clarify nested() semantics.Georg Brandl2009-03-151-4/+5
|
* Fix a small nit in the error message if bool() falls back on __len__ and it ↵Georg Brandl2009-03-151-1/+5
| | | | returns the wrong type: it would tell the user that __nonzero__ should return bool or int.
* #5493: clarify __nonzero__ docs.Georg Brandl2009-03-151-4/+5
|
* #5496: fix docstring of lookup().Georg Brandl2009-03-151-1/+1
|
* fix tuple.index() error message #5495Benjamin Peterson2009-03-151-1/+1
|
* Make marshalling errors a little more informative as to what went wrongNick Coghlan2009-03-151-13/+13
|
* Unicode format tests weren't actually testing unicode. This was probably due ↵Eric Smith2009-03-141-51/+51
| | | | to the original backport from py3k.
* Issue 5237, Allow auto-numbered replacement fields in str.format() strings.Eric Smith2009-03-144-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 Pitrou2009-03-143-33/+131
| | | | character.
* #5486: typos.Georg Brandl2009-03-135-11/+11
|
* Issue 5477: Fix buglet in the itertools documentation.Raymond Hettinger2009-03-121-3/+4
|
* Add reference to solution for a commonly asked question.Raymond Hettinger2009-03-121-0/+3
|
* Issue #5472: Fixed distutils.test_util tear downTarek Ziadé2009-03-112-0/+5
|
* Require implementations for warnings.showwarning() support the 'line' argument.Brett Cannon2009-03-115-107/+22
| | | | | | Was a DeprecationWarning for not supporting it since Python 2.6. Closes issue #3652.
* Fix typo.Raymond Hettinger2009-03-101-1/+1
|
* For collections.deque() objects, expose the maxlen parameter as a read-only ↵Raymond Hettinger2009-03-104-1/+36
| | | | attribute.
* Small optimization for corner case where maxlen==0.Raymond Hettinger2009-03-102-1/+41
|
* Update the decimal FAQ for the from_float() classmethod and improve the ↵Raymond Hettinger2009-03-101-34/+15
| | | | recipe for remove_exponent() to make it cut and pasteable.
* Add a version tag to the decimal module.Raymond Hettinger2009-03-101-0/+2
|
* Clarify the meaning of normal and subnormal.Raymond Hettinger2009-03-101-3/+7
|
* Update url for the spec.Raymond Hettinger2009-03-101-1/+1
|
* Fix markup.Raymond Hettinger2009-03-101-1/+1
|
* gzip and bz2 are context managersBenjamin Peterson2009-03-092-0/+10
|
* Add missing space.Georg Brandl2009-03-091-1/+1
|
* #5458: add a note when we started to raise RuntimeErrors.Georg Brandl2009-03-091-1/+6
|
* Add cross-reference to the collections docs.Raymond Hettinger2009-03-091-0/+6
|