summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 81551 via svnmerge fromMark Dickinson2010-05-261-0/+15
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81551 | mark.dickinson | 2010-05-26 20:06:33 +0100 (Wed, 26 May 2010) | 1 line Issue #8825: additional testcases for int(string, 0) and long(string, 0). ........
* fix wrong assertIs contextGiampaolo Rodolà2010-05-261-1/+1
|
* Fix issue #8806: add SSL contexts support to ftplibGiampaolo Rodolà2010-05-264-6/+49
|
* Fix #2810 - handle the case where some registry calls returnBrian Curtin2010-05-263-28/+147
| | | | | | ERROR_MORE_DATA, requiring another call to get the remaining data. Patch by Daniel Stutzbach
* Merged revisions 81543 via svnmerge fromVictor Stinner2010-05-262-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81543 | victor.stinner | 2010-05-26 19:25:28 +0200 (mer., 26 mai 2010) | 2 lines Issue #7449: Skip test_socketserver if threading support is disabled ........
* Issue #8817: Expose round-to-nearest variant of divmod in _PyLong_Divmod_NearMark Dickinson2010-05-262-111/+148
| | | | for use by the datetime module; also refactor long_round to use this function.
* Blocked revisions 81537 via svnmergeVictor Stinner2010-05-250-0/+0
| | | | | | | | | | | ........ r81537 | victor.stinner | 2010-05-26 00:30:32 +0200 (mer., 26 mai 2010) | 3 lines Issue #3798: Write sys.exit() message to sys.stderr to use stderr encoding and error handler, instead of writing to the C stderr file in utf-8 ........ py3k was already fixed by r81252.
* Fix the new TestMain.test_decode() of test_base64 for WindowsVictor Stinner2010-05-251-1/+1
|
* Issue #4769: Fix main() function of the base64 module, use sys.stdin.buffer andVictor Stinner2010-05-253-2/+40
| | | | sys.stdout.buffer (instead of sys.stdin and sys.stdout) to use the bytes API
* Merged revisions 81531 via svnmerge fromMartin v. Löwis2010-05-251-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81531 | martin.v.loewis | 2010-05-25 22:06:02 +0200 (Di, 25 Mai 2010) | 2 lines Add Alexander Belopolsky. ........
* Merged revisions 81527 via svnmerge fromMark Dickinson2010-05-251-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81527 | mark.dickinson | 2010-05-25 20:44:49 +0100 (Tue, 25 May 2010) | 1 line Fix a NameError in test_enumerate. ........
* Merged revisions 81525 via svnmerge fromMark Dickinson2010-05-252-0/+30
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81525 | mark.dickinson | 2010-05-25 20:01:08 +0100 (Tue, 25 May 2010) | 3 lines Issue #8816: Extra tests for some built-in functions. These tests are ports of IronPython tests. Thanks Gregory Nofi. ........
* Recorded merge of revisions 81521 via svnmerge fromR. David Murray2010-05-251-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81521 | r.david.murray | 2010-05-25 11:32:06 -0400 (Tue, 25 May 2010) | 2 lines Issue 8818: urlparse/urlsplit keyword is 'scheme', not 'default_scheme'. ........
* Blocked revisions 81518 via svnmergeR. David Murray2010-05-250-0/+0
| | | | | | | | | | | | | ........ r81518 | r.david.murray | 2010-05-25 11:20:46 -0400 (Tue, 25 May 2010) | 8 lines Issue 8143: sync unquote in urlparse with urllib; add comment about doing so. unquote is duplicated in the two files to avoid a circular reference. (This is fixed in Python3.) Updates keep getting made to the public unquote without fixing the urlparse one, however, so this fix syncs the two and adds a comment to both to make sure changes are applied to both. ........
* added the list of public APIs in sysconfigTarek Ziadé2010-05-251-0/+4
|
* Made sysconfig a script that displays useful information - #8770Tarek Ziadé2010-05-254-2/+64
|
* Blocked revisions 81509 via svnmergeBenjamin Peterson2010-05-250-0/+0
| | | | | | | | ........ r81509 | benjamin.peterson | 2010-05-24 21:23:32 -0500 (Mon, 24 May 2010) | 1 line correct default docs ........
* Recorded merge of revisions 81500-81501 via svnmerge fromVictor Stinner2010-05-244-0/+14
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81500 | victor.stinner | 2010-05-24 23:33:24 +0200 (lun., 24 mai 2010) | 2 lines Issue #6662: Fix parsing of malformatted charref (&#bad;) ........ r81501 | victor.stinner | 2010-05-24 23:37:28 +0200 (lun., 24 mai 2010) | 2 lines Add the author of the last fix (Issue #6662) ........
* Document the context attribute of SSL socketsAntoine Pitrou2010-05-241-0/+10
|
* Add a versionadded tag for SSL contexts.Antoine Pitrou2010-05-241-0/+2
|
* Merged revisions 81492 via svnmerge fromSteven Bethard2010-05-242-1/+20
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81492 | steven.bethard | 2010-05-23 20:45:26 -0700 (Sun, 23 May 2010) | 1 line Fix default value for version help. Approved by Benjamin on python-dev: http://mail.python.org/pipermail/python-dev/2010-May/100231.html ........
* Merged revisions 81490 via svnmerge fromSteven Bethard2010-05-243-4/+31
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81490 | steven.bethard | 2010-05-23 19:38:00 -0700 (Sun, 23 May 2010) | 1 line argparse documentation updates (including updates to optparse and getopt documentation that were promised in the PEP) ........
* Issue #8188: Introduce a new scheme for computing hashes of numbersMark Dickinson2010-05-2314-140/+569
| | | | | | (instances of int, float, complex, decimal.Decimal and fractions.Fraction) that makes it easy to maintain the invariant that hash(x) == hash(y) whenever x and y have equal value.
* Remove duplicate NEWS entry.Mark Dickinson2010-05-231-6/+0
|
* Merged revisions 81479 via svnmerge fromBenjamin Peterson2010-05-221-1/+3
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ................ r81479 | benjamin.peterson | 2010-05-22 13:52:21 -0500 (Sat, 22 May 2010) | 13 lines Merged revisions 80937,81478 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r80937 | benjamin.peterson | 2010-05-07 14:10:58 -0500 (Fri, 07 May 2010) | 1 line remove redundant unicode call ........ r81478 | benjamin.peterson | 2010-05-22 13:47:39 -0500 (Sat, 22 May 2010) | 1 line ensure doctests have some future_features ........ ................
* #Issue 8540: Make Context._clamp attribute public in decimal module.Mark Dickinson2010-05-224-20/+88
|
* Merged revisions 81471-81472 via svnmerge fromVictor Stinner2010-05-225-21/+77
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81471 | victor.stinner | 2010-05-22 15:37:56 +0200 (sam., 22 mai 2010) | 7 lines Issue #6268: More bugfixes about BOM, UTF-16 and UTF-32 * Fix seek() method of codecs.open(), don't write the BOM twice after seek(0) * Fix reset() method of codecs, UTF-16, UTF-32 and StreamWriter classes * test_codecs: use "w+" mode instead of "wt+". "t" mode is not supported by Solaris or Windows, but does it really exist? I found it the in the issue. ........ r81472 | victor.stinner | 2010-05-22 15:44:25 +0200 (sam., 22 mai 2010) | 4 lines Fix my last commit (r81471) about codecs Rememder: don't touch the code just before a commit ........
* Issue #8749: remove unused code in Objects/object.c. Thanks Yaniv Aknin.Mark Dickinson2010-05-221-24/+0
|
* Merged revisions 81459 via svnmerge fromVictor Stinner2010-05-223-0/+28
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81459 | victor.stinner | 2010-05-22 04:11:07 +0200 (sam., 22 mai 2010) | 3 lines Issue #6268: Fix seek() method of codecs.open(), don't read the BOM twice after seek(0) ........
* Issue #3798: sys.exit(message) writes the message to sys.stderr file, insteadVictor Stinner2010-05-213-6/+19
| | | | of the C file stderr, to use stderr encoding and error handler
* Blocked revisions 81454 via svnmergeVictor Stinner2010-05-210-0/+0
| | | | | | | | | ........ r81454 | victor.stinner | 2010-05-22 00:50:28 +0200 (sam., 22 mai 2010) | 3 lines Issue #5640: Fix Shift-JIS incremental encoder for error handlers different than strict ........
* Merged revisions 81450 via svnmerge fromGeorg Brandl2010-05-211-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81450 | georg.brandl | 2010-05-22 00:03:29 +0200 (Sa, 22 Mai 2010) | 1 line #8709: mention Windows support for os.devnull. ........
* Merged revisions 81443 via svnmerge fromGeorg Brandl2010-05-211-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81443 | georg.brandl | 2010-05-21 23:48:57 +0200 (Fr, 21 Mai 2010) | 1 line typo ........
* Merged revisions 81440 via svnmerge fromGeorg Brandl2010-05-211-4/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81440 | georg.brandl | 2010-05-21 23:47:05 +0200 (Fr, 21 Mai 2010) | 1 line Correct info for Semaphore.acquire() semantics under OSX. ........
* Merged revisions 81428-81429,81432-81433,81437 via svnmerge fromBenjamin Peterson2010-05-213-43/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81428 | benjamin.peterson | 2010-05-21 16:16:12 -0500 (Fri, 21 May 2010) | 1 line use addCleanup ........ r81429 | benjamin.peterson | 2010-05-21 16:17:22 -0500 (Fri, 21 May 2010) | 1 line fix name ........ r81432 | benjamin.peterson | 2010-05-21 16:31:24 -0500 (Fri, 21 May 2010) | 1 line ensure the last line has a trailing newline #8782 ........ r81433 | benjamin.peterson | 2010-05-21 16:32:49 -0500 (Fri, 21 May 2010) | 1 line remove debugging rubish ........ r81437 | benjamin.peterson | 2010-05-21 16:35:44 -0500 (Fri, 21 May 2010) | 1 line simplify and modernize updatecache() ........
* Merged revisions 81431 via svnmerge fromGeorg Brandl2010-05-211-8/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81431 | georg.brandl | 2010-05-21 23:30:47 +0200 (Fr, 21 Mai 2010) | 1 line #8707: remove duplicate paragraph part. ........
* Fix signatures for the various TemporaryFile class^Wfunctions.Georg Brandl2010-05-211-6/+5
|
* Blocked revisions 81419 via svnmergeGeorg Brandl2010-05-210-0/+0
| | | | | | | | ........ r81419 | georg.brandl | 2010-05-21 22:58:12 +0200 (Fr, 21 Mai 2010) | 1 line Add missing parameter in SimpleXMLRPCServer signature. ........
* Fix variable name in example.Georg Brandl2010-05-211-1/+1
|
* Recorded merge of revisions 81415 via svnmerge fromGeorg Brandl2010-05-211-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81415 | georg.brandl | 2010-05-21 22:52:46 +0200 (Fr, 21 Mai 2010) | 1 line typo ........
* Merged revisions 81414 via svnmerge fromBenjamin Peterson2010-05-213-3/+54
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81414 | benjamin.peterson | 2010-05-21 15:51:45 -0500 (Fri, 21 May 2010) | 1 line return NotImplemented from Mapping when comparing to a non-mapping #8729 ........
* Remove redundant example.Georg Brandl2010-05-211-4/+1
|
* Merged revisions 81404 via svnmerge fromGeorg Brandl2010-05-211-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81404 | georg.brandl | 2010-05-21 22:24:45 +0200 (Fr, 21 Mai 2010) | 1 line #8783: replace link to now dead hash collision FAQ. ........
* Issue #8780: Fix a regression introduced by r78946 in subprocess on WindowsVictor Stinner2010-05-212-1/+12
| | | | | Ensure that stdout / stderr is inherited from the parent if stdout=PIPE / stderr=PIPE is not used.
* Merged revisions 81398 via svnmerge fromAntoine Pitrou2010-05-214-7/+47
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81398 | antoine.pitrou | 2010-05-21 19:12:38 +0200 (ven., 21 mai 2010) | 6 lines Issue #5753: A new C API function, :cfunc:`PySys_SetArgvEx`, allows embedders of the interpreter to set sys.argv without also modifying sys.path. This helps fix `CVE-2008-5983 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983>`_. ........
* Issue #8748: Fix two issues with comparisons between complex and integerMark Dickinson2010-05-213-9/+81
| | | | | | | | | | objects. (1) The comparison could incorrectly return True in some cases (2**53+1 == complex(2**53) == 2**53), breaking transivity of equality. (2) The comparison raised an OverflowError for large integers, leading to unpredictable exceptions when combining integers and complex objects in sets or dicts. Patch by Meador Inge.
* Issue #8774: tabnanny uses the encoding cookie (#coding:...) to use the correctVictor Stinner2010-05-212-2/+8
| | | | encoding
* Issue #4870: Add an `options` attribute to SSL contexts, as well asAntoine Pitrou2010-05-215-57/+204
| | | | | several ``OP_*`` constants to the `ssl` module. This allows to selectively disable protocol versions, when used in combination with `PROTOCOL_SSLv23`.
* Merged revisions 81385 via svnmerge fromBenjamin Peterson2010-05-201-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81385 | benjamin.peterson | 2010-05-20 17:23:37 -0500 (Thu, 20 May 2010) | 1 line fix extra 't' #8778 ........
* Blocked revisions 81377 via svnmergeVictor Stinner2010-05-200-0/+0
| | | | | | | | | | | | | | ........ r81377 | victor.stinner | 2010-05-20 13:29:45 +0200 (jeu., 20 mai 2010) | 8 lines libpython.py: fix support of non-BMP unicode characters Forward port some code from Python3: * join surrogate pairs if sizeof(Py_UNICODE)==2 * Enable non-BMP test on narrow builds using u"\U0001D121" instead of unichr(0x1D121) ........