summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove conditional import of 'ic', that moduleRonald Oussoren2010-05-301-12/+0
| | | | | was removed in the transition from python 2.x to python 3.x.
* Merged revisions 81584 via svnmerge fromBrian Curtin2010-05-281-6/+50
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81584 | brian.curtin | 2010-05-28 10:49:21 -0500 (Fri, 28 May 2010) | 3 lines Fix #8405 for slow buildbots. Remove the sleep on startup and move the pipe communication into a loop to retry in case a buildbot gets even slower. ........
* Merged revisions 81566 via svnmerge fromAlexander Belopolsky2010-05-271-9/+10
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81566 | alexander.belopolsky | 2010-05-27 16:55:27 -0400 (Thu, 27 May 2010) | 3 lines Issue #7150: Raise OverflowError if the result of adding or subtracting timedelta from date or datetime falls outside of the MINYEAR:MAXYEAR range. ........
* Merged revisions 81559 via svnmerge fromAlexander Belopolsky2010-05-261-7/+2
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81559 | alexander.belopolsky | 2010-05-26 16:45:37 -0400 (Wed, 26 May 2010) | 3 lines Issue #7879: Skip negative timestamps test on any Windows platform using unittest.skipIf decorator. ........
* Issue #2844: Make int('42', n) consistently raise ValueError forMark Dickinson2010-05-261-0/+10
| | | | invalid integers n (including n = -909).
* Merged revisions 81555 via svnmerge fromAlexander Belopolsky2010-05-261-3/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81555 | alexander.belopolsky | 2010-05-26 15:43:16 -0400 (Wed, 26 May 2010) | 3 lines Issue #7879: Do not test negative timestamps on any Windows platform including Windows CE. ........
* 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-262-5/+43
|
* Fix #2810 - handle the case where some registry calls returnBrian Curtin2010-05-261-0/+53
| | | | | | ERROR_MORE_DATA, requiring another call to get the remaining data. Patch by Daniel Stutzbach
* Merged revisions 81543 via svnmerge fromVictor Stinner2010-05-261-0/+1
| | | | | | | | | | 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 ........
* 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-252-2/+36
| | | | sys.stdout.buffer (instead of sys.stdin and sys.stdout) to use the bytes API
* 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. ........
* 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-252-2/+29
|
* Recorded merge of revisions 81500-81501 via svnmerge fromVictor Stinner2010-05-242-0/+10
| | | | | | | | | | | | | | 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) ........
* 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 ........
* Issue #8188: Introduce a new scheme for computing hashes of numbersMark Dickinson2010-05-235-66/+222
| | | | | | (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.
* 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-222-16/+62
|
* Merged revisions 81471-81472 via svnmerge fromVictor Stinner2010-05-224-19/+74
| | | | | | | | | | | | | | | | | | | | | 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 ........
* Merged revisions 81459 via svnmerge fromVictor Stinner2010-05-222-0/+25
| | | | | | | | | | | 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-211-2/+10
| | | | of the C file stderr, to use stderr encoding and error handler
* Merged revisions 81428-81429,81432-81433,81437 via svnmerge fromBenjamin Peterson2010-05-212-43/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 81414 via svnmerge fromBenjamin Peterson2010-05-212-3/+51
| | | | | | | | | | 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 ........
* 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.
* Issue #8748: Fix two issues with comparisons between complex and integerMark Dickinson2010-05-211-1/+24
| | | | | | | | | | 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-211-1/+4
| | | | encoding
* Issue #4870: Add an `options` attribute to SSL contexts, as well asAntoine Pitrou2010-05-212-57/+100
| | | | | several ``OP_*`` constants to the `ssl` module. This allows to selectively disable protocol versions, when used in combination with `PROTOCOL_SSLv23`.
* Issue #8559: improve unicode support of (gdb) libpython.pyVictor Stinner2010-05-191-10/+15
| | | | | | | | | * Escape non printable characters (use locale.getpreferredencoding()) * Fix support of surrogate pairs * test_gdb.py: use ascii() instead of repr() in gdb program arguments to avoid encoding issues * Fix test_strings() of test_gdb.py for encoding different than UTF-8 (eg. ACSII)
* Merged revisions 81371 via svnmerge fromTarek Ziadé2010-05-192-9/+18
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81371 | tarek.ziade | 2010-05-20 00:20:14 +0200 (Thu, 20 May 2010) | 1 line #8759: Fixed user paths in sysconfig for posix and os2 schemes ........
* Merged revisions 80068 via svnmerge fromGeorg Brandl2010-05-191-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80068 | georg.brandl | 2010-04-14 10:56:01 +0200 (Mi, 14 Apr 2010) | 1 line #5341: fix typo and adapt docstring syntax. ........
* Merged revisions ↵Georg Brandl2010-05-192-16/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 80030,80067,80069,80080-80081,80084,80432-80433,80465-80470,81059,81065-81067 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r80030 | georg.brandl | 2010-04-13 08:43:54 +0200 (Di, 13 Apr 2010) | 1 line Get rid of multi-row cells. ........ r80067 | georg.brandl | 2010-04-14 10:53:38 +0200 (Mi, 14 Apr 2010) | 1 line #5341: typo. ........ r80069 | georg.brandl | 2010-04-14 15:50:31 +0200 (Mi, 14 Apr 2010) | 1 line Add an x-ref to where the O_ constants are documented and move the SEEK_ constants after lseek(). ........ r80080 | georg.brandl | 2010-04-14 21:16:38 +0200 (Mi, 14 Apr 2010) | 1 line #8399: add note about Windows and O_BINARY. ........ r80081 | georg.brandl | 2010-04-14 23:34:44 +0200 (Mi, 14 Apr 2010) | 1 line #5250: document __instancecheck__ and __subclasscheck__. I hope the part about the class/metaclass distinction is understandable. ........ r80084 | georg.brandl | 2010-04-14 23:46:45 +0200 (Mi, 14 Apr 2010) | 1 line Fix missing. ........ r80432 | georg.brandl | 2010-04-24 10:56:58 +0200 (Sa, 24 Apr 2010) | 1 line Markup fixes. ........ r80433 | georg.brandl | 2010-04-24 11:08:10 +0200 (Sa, 24 Apr 2010) | 1 line #7507: quote "!" in pipes.quote(); it is a special character for some shells. ........ r80465 | georg.brandl | 2010-04-25 12:29:17 +0200 (So, 25 Apr 2010) | 1 line Remove LaTeXy index entry syntax. ........ r80466 | georg.brandl | 2010-04-25 12:54:42 +0200 (So, 25 Apr 2010) | 1 line Patch from Tim Hatch: Better cross-referencing in socket and winreg docs. ........ r80467 | georg.brandl | 2010-04-25 12:55:16 +0200 (So, 25 Apr 2010) | 1 line Patch from Tim Hatch: Remove reference to winreg being the fabled high-level registry interface. ........ r80468 | georg.brandl | 2010-04-25 12:55:58 +0200 (So, 25 Apr 2010) | 1 line Patch from Tim Hatch: Minor spelling changes to _winreg docs. ........ r80469 | georg.brandl | 2010-04-25 12:56:41 +0200 (So, 25 Apr 2010) | 1 line Fix code example to have valid syntax so that it can be highlighted. ........ r80470 | georg.brandl | 2010-04-25 12:57:15 +0200 (So, 25 Apr 2010) | 1 line Patch from Tim Hatch: Make socket setblocking <-> settimeout examples symmetric. ........ r81059 | georg.brandl | 2010-05-10 23:02:51 +0200 (Mo, 10 Mai 2010) | 1 line #8642: fix wrong function name. ........ r81065 | georg.brandl | 2010-05-10 23:46:50 +0200 (Mo, 10 Mai 2010) | 1 line Fix reference direction. ........ r81066 | georg.brandl | 2010-05-10 23:50:57 +0200 (Mo, 10 Mai 2010) | 1 line Consolidate deprecation messages. ........ r81067 | georg.brandl | 2010-05-10 23:51:33 +0200 (Mo, 10 Mai 2010) | 1 line Fix typo. ........
* Issue #8766: Initialize _warnings module before importing the first module.Victor Stinner2010-05-191-11/+29
| | | | Fix a crash if an empty directory called "encodings" exists in sys.path.
* Oops, add the new test_log.py for distutils test suite (missing part of r81359)Victor Stinner2010-05-191-0/+36
|
* regrtest.py: call replace_stdout() before the first call to print()Victor Stinner2010-05-191-3/+2
| | | | | print("== ", os.getcwd()) fails if the current working directory is not ASCII whereas sys.stdout encoding is ASCII.
* Issue #8663: distutils.log emulates backslashreplace error handler. FixVictor Stinner2010-05-191-0/+4
| | | | | compilation in a non-ASCII directory if stdout encoding is ASCII (eg. if stdout is not a TTY).
* Merged revisions 81350 via svnmerge fromStefan Krah2010-05-191-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81350 | stefan.krah | 2010-05-19 17:46:39 +0200 (Wed, 19 May 2010) | 1 line Fix typos in docstrings. ........
* Issue #6697: Fix a crash if a keyword contains a surrogateVictor Stinner2010-05-191-0/+14
|
* Merged revisions 81294 via svnmerge fromGiampaolo Rodolà2010-05-182-2/+11
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81294 | giampaolo.rodola | 2010-05-18 22:04:31 +0200 (mar, 18 mag 2010) | 1 line Fix issue #8573 (asyncore._strerror bug): fixed os.strerror typo; included NameError in the tuple of expected exception; added test case for asyncore._strerror. ........
* Issue #8513: os.get_exec_path() supports b'PATH' key and bytes value.Victor Stinner2010-05-184-21/+116
| | | | | | subprocess.Popen() and os._execvpe() support bytes program name. Add os.supports_bytes_environ flag: True if the native OS type of the environment is bytes (eg. False on Windows).
* Repair test failure. Bug 8727.Barry Warsaw2010-05-183-3/+13
|
* Fix test_main_invalid_unicode() of test_sys for ASCII locale encodingVictor Stinner2010-05-171-4/+3
| | | | It should fix sparc 3.x and 3.1 failures.
* Issue #8633: Support for POSIX.1-2008 binary pax headers.Lars Gustäbel2010-05-173-10/+93
| | | | | | | | | | | | | | tarfile is now able to read and write pax headers with a "hdrcharset=BINARY" record. This record was introduced in POSIX.1-2008 as a method to store unencoded binary strings that cannot be translated to UTF-8. In practice, this is just a workaround that allows a tar implementation to store filenames that do not comply with the current filesystem encoding and thus cannot be decoded correctly. Additionally, tarfile works around a bug in current versions of GNU tar: undecodable filenames are stored as-is in a pax header without a "hdrcharset" record being added. Technically, these headers are invalid, but tarfile manages to read them correctly anyway.
* Inadvertently removed part of the comment in r81271.Florent Xicluna2010-05-171-1/+1
|
* Issue #1285086: Speed up urllib.parse functions: quote, quote_from_bytes, ↵Florent Xicluna2010-05-171-40/+53
| | | | | | | | | | | | | unquote, unquote_to_bytes. Recorded merge of revisions 81265 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81265 | florent.xicluna | 2010-05-17 15:35:09 +0200 (lun, 17 mai 2010) | 2 lines Issue #1285086: Speed up urllib.quote and urllib.unquote for simple cases. ........
* Merged revision 81259 via svnmerge fromFlorent Xicluna2010-05-171-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81259 | florent.xicluna | 2010-05-17 12:39:07 +0200 (lun, 17 mai 2010) | 2 lines Slight style cleanup. ........
* Improve test_exit() error message to analyze sparc failuresVictor Stinner2010-05-171-1/+2
|