summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Document import's semantics for the language reference. This includes fillingBrett Cannon2009-03-214-62/+169
| | | | in missing details for the sys module.
* stringio doesn't have an encodingBenjamin Peterson2009-03-213-2/+6
|
* Merged revisions 70489 via svnmerge fromMark Dickinson2009-03-201-7/+11
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70489 | mark.dickinson | 2009-03-20 23:16:14 +0000 (Fri, 20 Mar 2009) | 4 lines Rewrite Py_ARITHMETIC_RIGHT_SHIFT so that it's valid for all signed integer types T, not just those for which "unsigned T" is legal. ........
* Add MutableSet example.Raymond Hettinger2009-03-201-1/+6
|
* Add ..versionadded for sys.int_info, update py3k version ofMark Dickinson2009-03-203-1/+27
| | | | | whatsnew/2.7.rst to keep it in sync with the trunk version, and replace SHIFT with PyLong_SHIFT in #error message
* Blocked revisions 70479 via svnmergeMark Dickinson2009-03-200-0/+0
| | | | | | | | | ........ r70479 | mark.dickinson | 2009-03-20 15:51:55 +0000 (Fri, 20 Mar 2009) | 3 lines Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms. Backport of r70459. ........
* Fix typoRaymond Hettinger2009-03-191-2/+2
|
* Forward port 70475: Add implementation notes. Put methods in more readable ↵Raymond Hettinger2009-03-191-13/+25
| | | | order.
* Forward port r70470 and r70473 for OrderedDict to use a doubly linked list.Raymond Hettinger2009-03-193-17/+44
|
* svnmerge from trunk for r70457 (sorry, I accidentally deleted the commit ↵Antoine Pitrou2009-03-181-1/+1
| | | | message)
* Issue #4258: Make it possible to use 30-bit digits for PyLongs:Mark Dickinson2009-03-1815-68/+865
| | | | | | | - new configure option --enable-big-digits - new structseq sys.int_info giving information about the internal format By default, 30-bit digits are enabled on 64-bit machines but disabled on 32-bit machines.
* Blocked revisions 70454 via svnmergeMark Dickinson2009-03-180-0/+0
| | | | | | | | | | | | | | ........ r70454 | mark.dickinson | 2009-03-18 16:07:26 +0000 (Wed, 18 Mar 2009) | 9 lines Issue 4474: On platforms with sizeof(wchar_t) == 4 and 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) ........
* Issue 4474: On platforms with sizeof(wchar_t) == 4 andMark Dickinson2009-03-183-0/+113
| | | | | | | sizeof(Py_UNICODE) == 2, PyUnicode_FromWideChar now converts each character outside the BMP to the appropriate surrogate pair. Thanks Victor Stinner for the patch.
* Merged revisions 70448 via svnmerge fromHirokazu Yamamoto2009-03-183-58/+98
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70448 | hirokazu.yamamoto | 2009-03-18 19:17:26 +0900 | 3 lines Updated openssl support on VC6. (openssl-0.9.6g is old, cannot compile with _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. ........
* Merged revisions 70444 via svnmerge fromMark Dickinson2009-03-182-2/+23
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70444 | mark.dickinson | 2009-03-18 08:22:51 +0000 (Wed, 18 Mar 2009) | 3 lines Fix bug in _insert_thousands_sep: too much zero padding could be added for 'n' formats with non-repeating thousands-separator. ........
* Merged revisions 70439 via svnmerge fromMark Dickinson2009-03-173-86/+298
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70439 | mark.dickinson | 2009-03-17 23:03:46 +0000 (Tue, 17 Mar 2009) | 3 lines Issue #2110: Add support for thousands separator and 'n' format specifier to Decimal __format__ method. ........
* Move Misc/NEWS item to the right place.Mark Dickinson2009-03-171-3/+3
|
* Merged revisions 70430 via svnmerge fromMark Dickinson2009-03-173-2/+11
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70430 | mark.dickinson | 2009-03-17 18:01:03 +0000 (Tue, 17 Mar 2009) | 3 lines Fix bug in Decimal __format__ method that swapped left and right alignment. ........
* Fix a doc typo.Brett Cannon2009-03-161-1/+1
|
* Merged revisions 70397 via svnmerge fromGeorg Brandl2009-03-151-3/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70397 | georg.brandl | 2009-03-15 22:53:56 +0100 (So, 15 Mär 2009) | 1 line #5469: add with statement to list of name-binding constructs. ........
* Merged revisions 70378 via svnmerge fromNick Coghlan2009-03-151-12/+12
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70378 | nick.coghlan | 2009-03-15 13:24:46 +1000 (Sun, 15 Mar 2009) | 1 line Make marshalling errors a little more informative as to what went wrong ........
* Implement InspectLoader for FrozenImporter.Brett Cannon2009-03-156-10/+100
|
* Fix docs for __import__ that say the default for 'level' is -1; it's actuallyBrett Cannon2009-03-151-6/+5
| | | | 0.
* Implement InspectLoader for BuiltinImporter.Brett Cannon2009-03-157-32/+91
|
* A few more docstring/API cleanups for importlib.Brett Cannon2009-03-154-53/+55
|
* Clean up docstring from importlib.util.module_for_loader.Brett Cannon2009-03-151-8/+8
|
* Blocked revisions 70368 via svnmergeEric Smith2009-03-140-0/+0
| | | | | | | | ........ r70368 | eric.smith | 2009-03-14 10:37:38 -0400 (Sat, 14 Mar 2009) | 1 line Unicode format tests weren't actually testing unicode. This was probably due to the original backport from py3k. ........
* Merged revisions 70364 via svnmerge fromEric Smith2009-03-143-47/+166
| | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70364 | eric.smith | 2009-03-14 07:57:26 -0400 (Sat, 14 Mar 2009) | 17 lines Issue 5237, Allow auto-numbered replacement fields in str.format() strings. 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. ........
* Merged revisions 70356 via svnmerge fromAntoine Pitrou2009-03-143-33/+131
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70356 | antoine.pitrou | 2009-03-14 01:07:21 +0100 (sam., 14 mars 2009) | 3 lines Issue #1222: locale.format() bug when the thousands separator is a space character. ........
* Issue #5016: FileIO.seekable() could return False if the file positionAntoine Pitrou2009-03-133-6/+21
| | | | was negative when truncated to a C int. Patch by Victor Stinner.
* The error detection code in FileIO.close() could fail to reflect the `errno` ↵Antoine Pitrou2009-03-133-3/+19
| | | | value, and report it as -1 instead.
* Issue #5392: when a very low recursion limit was set, the interpreter wouldAntoine Pitrou2009-03-133-7/+49
| | | | abort with a fatal error after the recursion limit was hit twice.
* #5486: typos.Georg Brandl2009-03-1315-27/+27
|
* Finish properly hiding importlib implementation code.Brett Cannon2009-03-1212-55/+43
|
* Last big re-organization of importlib._bootstrap. Should actually be able to ↵Brett Cannon2009-03-121-172/+173
| | | | find something in the file now.
* Do a little bit of reorganization on importlib._bootstrap.Brett Cannon2009-03-121-58/+69
|
* Make utility code in importlib._bootstrap private.Brett Cannon2009-03-121-32/+32
|
* Define importlib.__init__.__all__.Brett Cannon2009-03-121-1/+3
|
* 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
|
* Merged revisions 70308 via svnmerge fromTarek Ziadé2009-03-112-0/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70308 | tarek.ziade | 2009-03-11 13:48:04 +0100 (Wed, 11 Mar 2009) | 1 line Issue #5472: Fixed distutils.test_util tear down ........
* Add a NOTE for importlib to fill in the docstrings for the ABCs.Brett Cannon2009-03-111-0/+2
|
* Blocked revisions 70305 via svnmergeBrett Cannon2009-03-110-0/+0
| | | | | | | | | | | ........ r70305 | brett.cannon | 2009-03-10 21:51:06 -0700 (Tue, 10 Mar 2009) | 5 lines Require implementations for warnings.showwarning() support the 'line' argument. Was a DeprecationWarning for not supporting it since Python 2.6. Closes issue #3652. ........
* Record version added as 3.1.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
|
* Implement importlib.util.set_loader: a decorator to automatically setBrett Cannon2009-03-107-12/+34
| | | | __loader__ on modules.
* Implement get_source for importlib.abc.PyLoader using source_path and get_data.Brett Cannon2009-03-104-10/+59
|
* Fix markup.Raymond Hettinger2009-03-101-1/+1
|
* fix versionchangedBenjamin Peterson2009-03-092-2/+2
|