summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 77477-77478,77481-77483,77490-77493 via svnmerge fromMark Dickinson2010-01-142-113/+414
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77477 | mark.dickinson | 2010-01-13 18:21:53 +0000 (Wed, 13 Jan 2010) | 1 line Add comments explaining the role of the bigcomp function in dtoa.c. ........ r77478 | mark.dickinson | 2010-01-13 19:02:37 +0000 (Wed, 13 Jan 2010) | 1 line Clarify that sulp expects a nonnegative input, but that +0.0 is fine. ........ r77481 | mark.dickinson | 2010-01-13 20:55:03 +0000 (Wed, 13 Jan 2010) | 1 line Simplify and annotate the bigcomp function, removing unused special cases. ........ r77482 | mark.dickinson | 2010-01-13 22:15:53 +0000 (Wed, 13 Jan 2010) | 1 line Fix buggy comparison: LHS of comparison was being treated as unsigned. ........ r77483 | mark.dickinson | 2010-01-13 22:20:10 +0000 (Wed, 13 Jan 2010) | 1 line More dtoa.c cleanup; remove the need for bc.dplen, bc.dp0 and bc.dp1. ........ r77490 | mark.dickinson | 2010-01-14 13:02:36 +0000 (Thu, 14 Jan 2010) | 1 line Fix off-by-one error introduced in r77483. I have a test for this, but it currently fails due to a different dtoa.c bug; I'll add the test once that bug is fixed. ........ r77491 | mark.dickinson | 2010-01-14 13:14:49 +0000 (Thu, 14 Jan 2010) | 1 line Issue 7632: fix a dtoa.c bug (bug 6) causing incorrect rounding. Tests to follow. ........ r77492 | mark.dickinson | 2010-01-14 14:40:20 +0000 (Thu, 14 Jan 2010) | 1 line Issue 7632: fix incorrect rounding for long input strings with values very close to a power of 2. (See Bug 4 in the tracker discussion.) ........ r77493 | mark.dickinson | 2010-01-14 15:22:33 +0000 (Thu, 14 Jan 2010) | 1 line Issue #7632: add tests for bugs fixed so far. ........
* Make similar changes to 3.x version.Skip Montanaro2010-01-141-3/+9
|
* Fix the wrong numbering of a PEP.Brett Cannon2010-01-131-1/+1
|
* Merged revisions 77475 via svnmerge fromAntoine Pitrou2010-01-131-1/+7
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77475 | antoine.pitrou | 2010-01-13 16:02:13 +0100 (mer., 13 janv. 2010) | 4 lines Issue #7625: Add more tests that bytearray methods return new objects, even if identical. Patch by Florent Xicluna (again). ........
* Merged revisions 77472-77473 via svnmerge fromAntoine Pitrou2010-01-135-0/+28
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77472 | antoine.pitrou | 2010-01-13 15:32:10 +0100 (mer., 13 janv. 2010) | 5 lines Issue #2846: Add support for gzip.GzipFile reading zero-padded files. Patch by Brian Curtin. ........ r77473 | antoine.pitrou | 2010-01-13 15:32:51 +0100 (mer., 13 janv. 2010) | 3 lines Add ACKS entry for r77472. ........
* Merged revisions 77469-77470 via svnmerge fromAntoine Pitrou2010-01-132-14/+36
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77469 | antoine.pitrou | 2010-01-13 14:43:37 +0100 (mer., 13 janv. 2010) | 3 lines Test commit to try to diagnose failures of the IA-64 buildbot ........ r77470 | antoine.pitrou | 2010-01-13 15:01:26 +0100 (mer., 13 janv. 2010) | 3 lines Sanitize bloom filter macros ........
* Note: I'm merging these changes out of consistency, but they don't seemAntoine Pitrou2010-01-132-11/+6
| | | | | | | | | | | | | | | | | | | to be needed in py3k (except perhaps for non-utf8 paths). Merged revisions 77466-77467 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r77466 | antoine.pitrou | 2010-01-13 12:47:49 +0100 (mer., 13 janv. 2010) | 5 lines Issue #7661: Allow ctypes to be built from a non-ASCII directory path. Patch by Florent Xicluna. ........ r77467 | antoine.pitrou | 2010-01-13 12:57:42 +0100 (mer., 13 janv. 2010) | 3 lines Use `with` ........
* svnmerge duplicated contents of Objects/stringlib/split.hAntoine Pitrou2010-01-131-394/+0
|
* Merged revisions 77463 via svnmerge fromAntoine Pitrou2010-01-131-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77463 | antoine.pitrou | 2010-01-13 09:55:20 +0100 (mer., 13 janv. 2010) | 3 lines Fix Windows build (re r77461) ........
* Merged revisions 77461 via svnmerge fromAntoine Pitrou2010-01-1316-1418/+1123
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77461 | antoine.pitrou | 2010-01-13 08:55:48 +0100 (mer., 13 janv. 2010) | 5 lines Issue #7622: Improve the split(), rsplit(), splitlines() and replace() methods of bytes, bytearray and unicode objects by using a common implementation based on stringlib's fast search. Patch by Florent Xicluna. ........
* use floor division where needed #7681Benjamin Peterson2010-01-133-2/+15
|
* Merged revisions 77455 via svnmerge fromEzio Melotti2010-01-131-5/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77455 | ezio.melotti | 2010-01-13 02:25:03 +0200 (Wed, 13 Jan 2010) | 1 line #7685: typo ........
* Merged revisions 77410,77421,77450-77451 via svnmerge fromMark Dickinson2010-01-124-36/+167
| | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77410 | mark.dickinson | 2010-01-10 13:06:31 +0000 (Sun, 10 Jan 2010) | 1 line Remove unused BCinfo fields and an unused macro. ........ r77421 | mark.dickinson | 2010-01-11 17:15:13 +0000 (Mon, 11 Jan 2010) | 1 line Change a variable type to avoid signed overflow; replace repeated '19999' constant by a define. ........ r77450 | mark.dickinson | 2010-01-12 22:23:56 +0000 (Tue, 12 Jan 2010) | 4 lines Issue #7632: Fix a problem with _Py_dg_strtod that could lead to crashes in debug builds, for certain long numeric strings corresponding to subnormal values. ........ r77451 | mark.dickinson | 2010-01-12 22:55:51 +0000 (Tue, 12 Jan 2010) | 2 lines Issue #7632: Fix a bug in dtoa.c that could lead to incorrectly-rounded results. ........
* Merged revisions 77448 via svnmerge fromAntoine Pitrou2010-01-121-9/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77448 | antoine.pitrou | 2010-01-12 23:02:10 +0100 (mar., 12 janv. 2010) | 3 lines Issue #7654: enable additional bytes/bytearray tests. Patch by Florent Xicluna. ........
* Merged revisions 77445 via svnmerge fromAlexandre Vassalotti2010-01-121-3/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77445 | alexandre.vassalotti | 2010-01-12 13:25:33 -0500 (Tue, 12 Jan 2010) | 2 lines Added documentation for dictionary views fixer. ........
* Blocked revisions 77442 via svnmergeEzio Melotti2010-01-120-0/+0
| | | | | | | | ........ r77442 | ezio.melotti | 2010-01-12 05:32:05 +0200 (Tue, 12 Jan 2010) | 1 line #5827: make sure that normpath preserves unicode ........
* Blocked revisions 77438 via svnmergeAlexandre Vassalotti2010-01-120-0/+0
| | | | | | | | ........ r77438 | alexandre.vassalotti | 2010-01-11 20:34:43 -0500 (Mon, 11 Jan 2010) | 2 lines Fixed repr of dictionary views. ........
* Simplified long coding in pickle.py.Alexandre Vassalotti2010-01-121-51/+7
|
* Issue #7382: Fix bytes.__getnewargs__.Alexandre Vassalotti2010-01-123-20/+45
|
* Merged revisions 77431 via svnmerge fromTarek Ziadé2010-01-111-55/+22
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77431 | tarek.ziade | 2010-01-12 00:41:32 +0100 (Tue, 12 Jan 2010) | 1 line module cleanup ........
* Blocked revisions 77400,77422,77428 via svnmergeAlexandre Vassalotti2010-01-110-0/+0
| | | | | | | | | | | | | | | | ........ r77400 | alexandre.vassalotti | 2010-01-09 18:35:54 -0500 (Sat, 09 Jan 2010) | 2 lines Issue #2335: Backport set literals syntax from Python 3.x. ........ r77422 | alexandre.vassalotti | 2010-01-11 17:36:12 -0500 (Mon, 11 Jan 2010) | 2 lines Issue #2333: Backport set and dict comprehensions syntax. ........ r77428 | alexandre.vassalotti | 2010-01-11 18:17:10 -0500 (Mon, 11 Jan 2010) | 2 lines Issue #1967: Backport dictionary views. ........
* Merged revisions 77424 via svnmerge fromTarek Ziadé2010-01-112-90/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77424 | tarek.ziade | 2010-01-11 23:50:29 +0100 (Mon, 11 Jan 2010) | 1 line Fixed #5372: .o files are now always rebuilt because file age test don't work in some case ........
* Merged revisions 77412 via svnmerge fromR. David Murray2010-01-103-3/+10
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77412 | r.david.murray | 2010-01-10 12:41:28 -0500 (Sun, 10 Jan 2010) | 3 lines Issue #7119: document that a program-generated Message object tree may be mutated when serialized. ........
* Merged revisions 77411 via svnmerge fromSenthil Kumaran2010-01-101-3/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77411 | senthil.kumaran | 2010-01-10 23:05:05 +0530 (Sun, 10 Jan 2010) | 2 lines Fixed issue7648 - test_urllib2 fails on Windows if not run from C: ........
* Issue #7532: Expanded tests for extended slicing. This is a forwardMark Dickinson2010-01-101-21/+67
| | | | | port of r77391 to py3k, along with some additional tests and cleanup. Patch by Florent Xicluna.
* Blocked revisions 77391 via svnmergeMark Dickinson2010-01-100-0/+0
| | | | | | | | | ........ r77391 | mark.dickinson | 2010-01-09 18:50:50 +0000 (Sat, 09 Jan 2010) | 3 lines Issue #7532: Add additional slicing test cases for new- and old-style classes. Patch by Florent Xicluna. ........
* Merged revisions 77403 via svnmerge fromMartin v. Löwis2010-01-101-25/+40
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77403 | martin.v.loewis | 2010-01-10 11:29:54 +0100 (So, 10 Jan 2010) | 2 lines Update root certificate to CAcert. ........
* Remove redundant brackets in signatures.Georg Brandl2010-01-091-2/+2
|
* Issue #6688: Optimize PyBytes_FromObject().Alexandre Vassalotti2010-01-091-7/+52
| | | | | | - Add special-cases for list and tuple objects. - Use _PyObject_LengthHint() instead of an arbitrary value for the size of the initial buffer of the returned object.
* simplify string comparison of from_bytes/to_bytesBenjamin Peterson2010-01-091-20/+6
|
* Python strings ending with '\0' should not be equivalent to their C ↵Benjamin Peterson2010-01-093-0/+26
| | | | counterparts in PyUnicode_CompareWithASCIIString
* Issue #1023290: Added API for the conversion of longs to bytes and vice-versa.Alexandre Vassalotti2010-01-094-0/+497
|
* Merged revisions 77185-77188,77262,77313,77317,77331-77333,77337-77338 via ↵Benjamin Peterson2010-01-098-45/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r77185 | andrew.kuchling | 2009-12-31 10:17:05 -0600 (Thu, 31 Dec 2009) | 1 line Add some items ........ r77186 | benjamin.peterson | 2009-12-31 10:28:24 -0600 (Thu, 31 Dec 2009) | 1 line update expat comment ........ r77187 | andrew.kuchling | 2009-12-31 10:38:53 -0600 (Thu, 31 Dec 2009) | 1 line Add various items ........ r77188 | benjamin.peterson | 2009-12-31 10:49:37 -0600 (Thu, 31 Dec 2009) | 1 line add another advancement ........ r77262 | andrew.kuchling | 2010-01-02 19:15:21 -0600 (Sat, 02 Jan 2010) | 1 line Add a few items ........ r77313 | benjamin.peterson | 2010-01-04 18:04:19 -0600 (Mon, 04 Jan 2010) | 1 line add a test about hashing array.array ........ r77317 | georg.brandl | 2010-01-05 12:14:52 -0600 (Tue, 05 Jan 2010) | 1 line Add Stefan. ........ r77331 | georg.brandl | 2010-01-06 11:43:06 -0600 (Wed, 06 Jan 2010) | 1 line Small fixes to test_cmd: fix signature of do_shell, remove duplicate import, add option to run the custom Cmd class. ........ r77332 | georg.brandl | 2010-01-06 12:02:16 -0600 (Wed, 06 Jan 2010) | 7 lines #5991: let completion for the "help" command include help topics. This also simplifies the Cmd.get_names() method implementation; it was written at a time where dir() didn't consider base class attributes. ........ r77333 | georg.brandl | 2010-01-06 12:26:08 -0600 (Wed, 06 Jan 2010) | 1 line #5950: document that zip files with comments are unsupported in zipimport. ........ r77337 | r.david.murray | 2010-01-06 21:09:08 -0600 (Wed, 06 Jan 2010) | 3 lines Add -W to the 'basics', 'opt', and 'all' test runs so that we get verbose information if a failure happens. ........ r77338 | r.david.murray | 2010-01-06 22:04:28 -0600 (Wed, 06 Jan 2010) | 2 lines Fix inadvertent checkin of debug line. ........
* Merged revisions 77209,77229,77359-77360,77371 via svnmerge fromBenjamin Peterson2010-01-0915-28/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77209 | georg.brandl | 2010-01-01 07:07:05 -0600 (Fri, 01 Jan 2010) | 1 line More yearly updates. ........ r77229 | georg.brandl | 2010-01-02 06:35:01 -0600 (Sat, 02 Jan 2010) | 1 line Fix casing. ........ r77359 | georg.brandl | 2010-01-07 14:54:45 -0600 (Thu, 07 Jan 2010) | 1 line Fix description for Py_GetPath(); it sounded like it always returned sys.path. ........ r77360 | georg.brandl | 2010-01-07 15:48:47 -0600 (Thu, 07 Jan 2010) | 1 line #7653: clarify how the PythonPath registry key should look like. ........ r77371 | senthil.kumaran | 2010-01-08 13:20:25 -0600 (Fri, 08 Jan 2010) | 3 lines Fix for Issue7026. For the Error - RuntimeError: dictionary changed size during iteration ........
* Blocked revisions 77227,77256,77260,77368-77369 via svnmergeBenjamin Peterson2010-01-090-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | ........ r77227 | martin.v.loewis | 2010-01-02 03:53:18 -0600 (Sat, 02 Jan 2010) | 1 line Make script work with 2.5. ........ r77256 | georg.brandl | 2010-01-02 16:55:55 -0600 (Sat, 02 Jan 2010) | 1 line Fix typo. ........ r77260 | gregory.p.smith | 2010-01-02 18:43:02 -0600 (Sat, 02 Jan 2010) | 2 lines make setup.py similar to py3k's when reporting on _hashlib as missing or not. ........ r77368 | senthil.kumaran | 2010-01-08 12:41:40 -0600 (Fri, 08 Jan 2010) | 1 line Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox ........ r77369 | senthil.kumaran | 2010-01-08 13:04:16 -0600 (Fri, 08 Jan 2010) | 4 lines Reverting the Revision: 77368. I committed Flox's big patch for tests by mistake. ( It may come in for sure tough) ........
* Blocked revisions 77384,77386 via svnmergeBenjamin Peterson2010-01-090-0/+0
| | | | | | | | | | | | ........ r77384 | benjamin.peterson | 2010-01-09 10:34:06 -0600 (Sat, 09 Jan 2010) | 1 line bump version to 2.7a2 ........ r77386 | benjamin.peterson | 2010-01-09 11:30:31 -0600 (Sat, 09 Jan 2010) | 1 line post release version adjustment ........
* Merged revisions 77382 via svnmerge fromGeorg Brandl2010-01-091-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77382 | georg.brandl | 2010-01-09 10:47:11 +0100 (Sa, 09 Jan 2010) | 1 line #7422: make it clear that getargspec() only works on Python functions. ........
* Merged revisions 77377 via svnmerge fromTarek Ziadé2010-01-083-2/+21
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77377 | tarek.ziade | 2010-01-09 00:42:23 +0100 (Sat, 09 Jan 2010) | 1 line Fixed #7617: all flavors of gcc should be recognized now ........
* Merged revisions 77374 via svnmerge fromAntoine Pitrou2010-01-081-10/+0
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77374 | antoine.pitrou | 2010-01-08 20:39:04 +0100 (ven., 08 janv. 2010) | 4 lines Remove obsolete warning filters in regrtest.py (from issue #7092 -- patch by Florent Xicluna). ........
* Blocked revisions 77370 via svnmergeAntoine Pitrou2010-01-080-0/+0
| | | | | | | | | | | ........ r77370 | antoine.pitrou | 2010-01-08 20:20:17 +0100 (ven., 08 janv. 2010) | 5 lines Issue #7092: Remove py3k warning when importing cPickle. 2to3 handles renaming of `cPickle` to `pickle`. The warning was annoying since there's no alternative to cPickle if you care about performance. Patch by Florent Xicluna. ........
* Issue #7105: Make WeakKeyDictionary and WeakValueDictionary robust againstAntoine Pitrou2010-01-086-56/+296
| | | | the destruction of weakref'ed objects while iterating.
* Blocked revisions 77362 via svnmergeMark Dickinson2010-01-080-0/+0
| | | | | | | | ........ r77362 | mark.dickinson | 2010-01-08 16:53:56 +0000 (Fri, 08 Jan 2010) | 1 line Backport some float repr tests that were missed in issue 7117. ........
* Merged revisions 77352-77354 via svnmerge fromAntoine Pitrou2010-01-073-1/+7
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77352 | antoine.pitrou | 2010-01-07 18:46:49 +0100 (jeu., 07 janv. 2010) | 5 lines Issue #7455: Fix possible crash in cPickle on invalid input. Patch by Florent Xicluna. ........ r77353 | antoine.pitrou | 2010-01-07 18:49:37 +0100 (jeu., 07 janv. 2010) | 3 lines Fix attribution. Florent actually repackaged and reviewed Victor's patch (sorry!). ........ r77354 | antoine.pitrou | 2010-01-07 18:54:10 +0100 (jeu., 07 janv. 2010) | 3 lines Fix reattribution mistake when fixing attribution mistake! ........
* Merged revisions 77339 via svnmerge fromMark Dickinson2010-01-071-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77339 | mark.dickinson | 2010-01-07 09:28:29 +0000 (Thu, 07 Jan 2010) | 1 line Eric Smith was missing fro m the issue 7117 whatsnew attribution. ........
* Merged revisions 77324 via svnmerge fromMark Dickinson2010-01-061-0/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77324 | mark.dickinson | 2010-01-06 16:20:22 +0000 (Wed, 06 Jan 2010) | 2 lines Add missing docstring for Context.divmod. Thanks Juan José Conti. ........
* Assorted doc fixes by Florent.Georg Brandl2010-01-054-8/+8
|
* #7432: remove unnecessary from __future__ import divisionEzio Melotti2010-01-051-4/+2
|
* Blocked revisions 77310-77311 via svnmergeAntoine Pitrou2010-01-040-0/+0
| | | | | | | | | | | | | ........ r77310 | antoine.pitrou | 2010-01-05 00:22:44 +0100 (mar., 05 janv. 2010) | 4 lines Issue #7092: Fix the DeprecationWarnings emitted by the standard library when using the -3 flag. Patch by Florent Xicluna. ........ r77311 | antoine.pitrou | 2010-01-05 00:28:16 +0100 (mar., 05 janv. 2010) | 3 lines Kill a couple of "<>" ........
* Merged revisions 77306 via svnmerge fromEzio Melotti2010-01-041-0/+26
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77306 | ezio.melotti | 2010-01-04 23:43:02 +0200 (Mon, 04 Jan 2010) | 1 line #3340: document print/get_usage and print/get_version ........
* Merged revisions 77302 via svnmerge fromMark Dickinson2010-01-041-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77302 | mark.dickinson | 2010-01-04 21:32:02 +0000 (Mon, 04 Jan 2010) | 1 line Fix typo in comment. ........