summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 78585,78594,78606 via svnmerge fromFlorent Xicluna2010-03-031-4/+10
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78585 | florent.xicluna | 2010-03-02 22:34:45 +0100 (mar, 02 mar 2010) | 2 lines Tentatively enable test_pep277 on all platforms. ........ r78594 | florent.xicluna | 2010-03-02 23:34:11 +0100 (mar, 02 mar 2010) | 2 lines Test test_pep277 is only relevant for Unicode-friendly filesystems. ........ r78606 | florent.xicluna | 2010-03-03 00:56:38 +0100 (mer, 03 mar 2010) | 2 lines Fix wording. ........
* Merged revisions 78604 via svnmerge fromBenjamin Peterson2010-03-021-0/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78604 | benjamin.peterson | 2010-03-02 17:43:47 -0600 (Tue, 02 Mar 2010) | 1 line plug ref leaks ........
* Merged revisions 78600-78601 via svnmerge fromBenjamin Peterson2010-03-022-65/+9
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78600 | benjamin.peterson | 2010-03-02 16:58:01 -0600 (Tue, 02 Mar 2010) | 1 line remove code to avoid BaseException.message bug ........ r78601 | benjamin.peterson | 2010-03-02 17:02:02 -0600 (Tue, 02 Mar 2010) | 1 line remove cross-version compatibility code ........
* Merged revisions 78586-78593 via svnmerge fromBenjamin Peterson2010-03-022-6559/+6561
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78586 | benjamin.peterson | 2010-03-02 16:03:03 -0600 (Tue, 02 Mar 2010) | 1 line remove coding cookie as mandated by PEP 8 ........ r78587 | benjamin.peterson | 2010-03-02 16:05:59 -0600 (Tue, 02 Mar 2010) | 1 line set svn:eol-style ........ r78588 | benjamin.peterson | 2010-03-02 16:08:40 -0600 (Tue, 02 Mar 2010) | 1 line remove another coding cookie ........ r78589 | georg.brandl | 2010-03-02 16:17:38 -0600 (Tue, 02 Mar 2010) | 1 line Add some x-refs. ........ r78590 | benjamin.peterson | 2010-03-02 16:20:10 -0600 (Tue, 02 Mar 2010) | 1 line enable running of argparse tests and fix two that failed in the new environment ........ r78591 | benjamin.peterson | 2010-03-02 16:23:33 -0600 (Tue, 02 Mar 2010) | 1 line prevent warning filter adjustment from altering other tests ........ r78592 | benjamin.peterson | 2010-03-02 16:24:30 -0600 (Tue, 02 Mar 2010) | 1 line use test_main() in __main__ section ........ r78593 | benjamin.peterson | 2010-03-02 16:26:25 -0600 (Tue, 02 Mar 2010) | 1 line convert deprecated fail* methods to assert* variants ........
* Recorded merge of revisions 78582 via svnmerge fromFlorent Xicluna2010-03-021-92/+79
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78582 | florent.xicluna | 2010-03-02 17:00:00 +0100 (mar, 02 mar 2010) | 2 lines Refactor test_dict using assertRaises. ........
* Merged revisions 78576 via svnmerge fromSteven Bethard2010-03-022-0/+6559
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78576 | steven.bethard | 2010-03-02 00:38:09 -0800 (Tue, 02 Mar 2010) | 3 lines Initial commit of the argparse library, based on argparse 1.1. Docs still need some updating to make getopt and optparse match the wording promised in the PEP. There are also probably a number of :class:ArgumentParser etc. links that could be added to the argparse documentation. ........
* Manually copy patch for bug 7250 from the release26-maint branch. I suckBarry Warsaw2010-03-011-0/+4
| | | | | because I did this in the wrong order and couldn't smack svnmerge into submission.
* Merged revisions 78527,78550 via svnmerge fromGregory P. Smith2010-03-011-1/+41
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78527 | gregory.p.smith | 2010-02-28 17:22:39 -0800 (Sun, 28 Feb 2010) | 4 lines Issue #7242: On Solaris 9 and earlier calling os.fork() from within a thread could raise an incorrect RuntimeError about not holding the import lock. The import lock is now reinitialized after fork. ........ r78550 | gregory.p.smith | 2010-02-28 22:01:02 -0800 (Sun, 28 Feb 2010) | 2 lines Fix test to be skipped on windows. ........
* Merged revisions 78546 via svnmerge fromGregory P. Smith2010-03-011-0/+2
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78546 | gregory.p.smith | 2010-02-28 21:43:43 -0800 (Sun, 28 Feb 2010) | 3 lines Fixes issue #7999: os.setreuid() and os.setregid() would refuse to accept a -1 parameter on some platforms such as OS X. ........
* Merged revisions 78544 via svnmerge fromGregory P. Smith2010-03-012-1/+11
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78544 | gregory.p.smith | 2010-02-28 20:56:12 -0800 (Sun, 28 Feb 2010) | 2 lines Adds c_ssize_t to ctypes. issue 6729. ........
* Merged revisions 78536 via svnmerge fromGregory P. Smith2010-03-011-8/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78536 | gregory.p.smith | 2010-02-28 19:09:19 -0800 (Sun, 28 Feb 2010) | 2 lines Cleanup the test added in r78517 based on Ezio Melotti's feedback. ........
* Merged revisions 78532 via svnmerge fromGregory P. Smith2010-03-011-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78532 | gregory.p.smith | 2010-02-28 18:53:24 -0800 (Sun, 28 Feb 2010) | 2 lines Fix the new test on windows (skip it, its posix only) ........
* Merged revisions 78528 via svnmerge fromGregory P. Smith2010-03-012-1/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78528 | gregory.p.smith | 2010-02-28 18:01:47 -0800 (Sun, 28 Feb 2010) | 2 lines Adds the hashlib.algorithms attribute. See issue7418. ........
* Merged revisions 78523 via svnmerge fromGregory P. Smith2010-03-012-4/+34
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78523 | gregory.p.smith | 2010-02-28 16:05:08 -0800 (Sun, 28 Feb 2010) | 3 lines Issue #1068268: The subprocess module now handles EINTR in internal os.waitpid and os.read system calls where appropriate. ........
* Merged revisions 78517 via svnmerge fromGregory P. Smith2010-02-282-1/+25
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78517 | gregory.p.smith | 2010-02-28 10:36:09 -0800 (Sun, 28 Feb 2010) | 3 lines Issue #7481: When a threading.Thread failed to start it would leave the instance stuck in initial state and present in threading.enumerate(). ........
* Recorded merge of revisions 78508-78509 via svnmerge fromFlorent Xicluna2010-02-271-332/+309
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78508 | florent.xicluna | 2010-02-27 20:20:50 +0100 (sam, 27 fév 2010) | 2 lines Clean test_subprocess: use assertRaises, skipIf, skipUnless helpers and a custom helper assertStderrEqual. ........ r78509 | florent.xicluna | 2010-02-27 22:15:27 +0100 (sam, 27 fév 2010) | 2 lines Fix an oversight in r78508: p.wait() should be compared to 0 ........
* only accept AttributeError as indicating no __prepare__ attribute on a ↵Benjamin Peterson2010-02-271-0/+14
| | | | metaclass, allowing lookup errors to propogate
* Use UTF-8 encoding to create Python test scripts.Florent Xicluna2010-02-271-1/+2
|
* For 3.x, the "backslashreplace" error handling is plugged on the "write" method.Florent Xicluna2010-02-272-4/+40
| | | | | | | | | | | Recorded merge of revisions 78488 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78488 | florent.xicluna | 2010-02-27 14:31:23 +0100 (sam, 27 fév 2010) | 2 lines Issue #1729305: Fix doctest to handle encode error with "backslashreplace". It fixes #7667 too. ........
* Add an os.get_exec_path() function to return the list of directoriesGregory P. Smith2010-02-272-10/+38
| | | | | that launching a subprocess will search for the executable. Refactors some code in os._execvpe().
* Merged revisions 78461 via svnmerge fromFlorent Xicluna2010-02-261-0/+15
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78461 | florent.xicluna | 2010-02-26 11:40:58 +0100 (ven, 26 fév 2010) | 2 lines #691291: codecs.open() should not convert end of lines on reading and writing. ........
* Merged revisions 77967,77969,78033,78055,78081,78085,78108 via svnmerge fromVinay Sajip2010-02-254-75/+1280
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77967 | vinay.sajip | 2010-02-04 18:48:53 +0000 (Thu, 04 Feb 2010) | 1 line Logging: Implemented PEP 391. ........ r77969 | vinay.sajip | 2010-02-04 20:18:28 +0000 (Thu, 04 Feb 2010) | 1 line Removed spurious print statement. ........ r78033 | benjamin.peterson | 2010-02-06 22:08:15 +0000 (Sat, 06 Feb 2010) | 1 line make waiting for the server to start robust ........ r78055 | vinay.sajip | 2010-02-07 01:37:08 +0000 (Sun, 07 Feb 2010) | 1 line Issue #7868: logging: added loggerClass attribute to Manager. ........ r78081 | vinay.sajip | 2010-02-07 12:56:54 +0000 (Sun, 07 Feb 2010) | 1 line Issue #7869: logging: improved format-time diagnostics and removed some 1.5.2 support code. ........ r78085 | vinay.sajip | 2010-02-07 13:06:51 +0000 (Sun, 07 Feb 2010) | 1 line logging: Removed some more 1.5.2 support code. ........ r78108 | vinay.sajip | 2010-02-08 21:18:15 +0000 (Mon, 08 Feb 2010) | 1 line logging: gingerly re-enabling skipped tests after improving thread sync code in configurator. ........
* Merged revisions 78431 via svnmerge fromSenthil Kumaran2010-02-242-0/+4
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78431 | senthil.kumaran | 2010-02-25 02:25:31 +0530 (Thu, 25 Feb 2010) | 4 lines Fix for Issue7540 ; urllib2 will raise a TypeError when you try to add_data to a existing req object already having data. ........
* Merged revisions 78422 via svnmerge fromSenthil Kumaran2010-02-242-2/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78422 | senthil.kumaran | 2010-02-24 22:15:46 +0530 (Wed, 24 Feb 2010) | 2 lines Fix for Issue3819 - urllib2 sends Basic auth across redirects ........
* Merged revisions 78418 via svnmerge fromEric Smith2010-02-241-0/+36
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78418 | eric.smith | 2010-02-24 09:15:36 -0500 (Wed, 24 Feb 2010) | 1 line Issue #7309: Unchecked pointer access when converting UnicodeEncodeError, UnicodeDecodeError, and UnicodeTranslateError to strings. ........
* Merged revisions 78408 via svnmerge fromBenjamin Peterson2010-02-241-15/+13
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ................ r78408 | benjamin.peterson | 2010-02-23 20:24:35 -0600 (Tue, 23 Feb 2010) | 9 lines Merged revisions 78407 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r78407 | benjamin.peterson | 2010-02-23 20:21:34 -0600 (Tue, 23 Feb 2010) | 1 line rewrite test to not rely on __doc__ being present ........ ................
* Merged revisions 78403 via svnmerge fromR. David Murray2010-02-241-3/+0
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78403 | r.david.murray | 2010-02-23 21:08:28 -0500 (Tue, 23 Feb 2010) | 3 lines The primary copy of lib2to3 is not trunk, so the lib2to3 change should not have been included in the -OO patch, back it out. ........
* Merged revisions 78351 via svnmerge fromR. David Murray2010-02-2417-41/+207
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78351 | r.david.murray | 2010-02-22 19:24:49 -0500 (Mon, 22 Feb 2010) | 5 lines Issue 6292: for the moment at least, the test suite passes if run with -OO. Tests requiring docstrings are skipped. Patch by Brian Curtin, thanks to Matias Torchinsky for helping review and improve the patch. ........
* Merged revisions 78384 via svnmerge fromR. David Murray2010-02-232-0/+8
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78384 | dirkjan.ochtman | 2010-02-23 16:09:52 -0500 (Tue, 23 Feb 2010) | 4 lines Fix #1537721: add writeheader() method to csv.DictWriter. Reviewed by skip.montanaro and thomas.wouters. ........
* Merged revisions 78380 via svnmerge fromThomas Heller2010-02-231-0/+16
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78380 | thomas.heller | 2010-02-23 21:11:44 +0100 (Di, 23 Feb 2010) | 4 lines ctypes CThunkObject was not registered correctly with the cycle garbage collector, leading to possible leaks when using callback functions. ........
* Merged revisions 78372-78373 via svnmerge fromMark Dickinson2010-02-231-10/+13
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78372 | mark.dickinson | 2010-02-23 12:53:52 +0000 (Tue, 23 Feb 2010) | 1 line Make global variable overflowok into a keyword argument; this fixes a failure when running ./python -m test.regrtest -R 3:2: test_format ........ r78373 | mark.dickinson | 2010-02-23 13:06:50 +0000 (Tue, 23 Feb 2010) | 1 line Fix spacing nit. Thanks Eric Smith for the public humiliation. ........
* Merged revisions 78367 via svnmerge fromTarek Ziadé2010-02-234-177/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78367 | tarek.ziade | 2010-02-23 00:53:05 -0500 (Tue, 23 Feb 2010) | 1 line fixed #5801: removed spurious empty lines in wsgiref ........
* Merged revisions 78364 via svnmerge fromTarek Ziadé2010-02-231-4/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78364 | tarek.ziade | 2010-02-23 00:36:41 -0500 (Tue, 23 Feb 2010) | 1 line completed the __all__ list and changed the module doctest ........
* Merged revisions 78359-78360 via svnmerge fromTarek Ziadé2010-02-232-1/+596
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78359 | tarek.ziade | 2010-02-23 00:16:41 -0500 (Tue, 23 Feb 2010) | 1 line added make_archive (and secondary APIs) to shutil ........ r78360 | tarek.ziade | 2010-02-23 00:20:22 -0500 (Tue, 23 Feb 2010) | 1 line added a note on shutil new APIs ........
* Merged revisions 78354 via svnmerge fromTarek Ziadé2010-02-231-4/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78354 | tarek.ziade | 2010-02-22 23:57:05 -0500 (Mon, 22 Feb 2010) | 1 line removed debugging code ........
* Merged revisions 78349 via svnmerge fromEric Smith2010-02-231-0/+22
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78349 | eric.smith | 2010-02-22 19:11:16 -0500 (Mon, 22 Feb 2010) | 1 line Issue #6902: Fix problem with built-in types format incorrectly with 0 padding. ........
* #6666: fix bug in trace.py that applied the list of ignored dirs only to 1st ↵Andrew M. Kuchling2010-02-221-1/+1
| | | | file
* fixes issue #1522237, bad init check in _threading_localJack Diederich2010-02-222-1/+16
|
* Merged revisions 78329 via svnmerge fromEric Smith2010-02-221-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78329 | eric.smith | 2010-02-22 13:33:47 -0500 (Mon, 22 Feb 2010) | 1 line Issue #7988: Fix default alignment to be right aligned for complex.__format__. Now it matches other numeric types. ........
* #7310: fix the repr() of os.environEzio Melotti2010-02-222-0/+18
|
* Issue #5988: Delete deprecated functions PyOS_ascii_formatd, ↵Eric Smith2010-02-221-61/+0
| | | | PyOS_ascii_strtod, and PyOS_ascii_atof.
* Merged revisions 78299 via svnmerge fromSenthil Kumaran2010-02-221-1/+1
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78299 | senthil.kumaran | 2010-02-22 16:25:08 +0530 (Mon, 22 Feb 2010) | 4 lines Fix Issue7172 - BaseHTTPServer.BaseHTTPRequestHandler.responses[405] - changing server to resource in the 405 response msg. ........
* Merged revisions 78287 via svnmerge fromMark Dickinson2010-02-211-36/+30
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78287 | mark.dickinson | 2010-02-21 14:42:27 +0000 (Sun, 21 Feb 2010) | 1 line Reduce number of random tests in test_strtod, to avoid hogging buildbot time. ........
* Merged revisions 78281 via svnmerge fromMark Dickinson2010-02-211-0/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78281 | mark.dickinson | 2010-02-21 13:37:53 +0000 (Sun, 21 Feb 2010) | 1 line Issue #7384: skip test_curses on FreeBSD, in order to allow other buildbot tests to complete. ........
* Merged revisions 78274 via svnmerge fromR. David Murray2010-02-213-2/+45
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78274 | r.david.murray | 2010-02-20 23:23:00 -0500 (Sat, 20 Feb 2010) | 9 lines Issue 7970: When email.Parser.Parser parses a MIME message of type message/rfc822 it turns it into an object whose body consists of a list containing a single Message object. HeaderParser, on the other hand, just copies the body as a string. Generator.flatten has a special handler for the message mime type that expected the body to be the one item list. This fails if the message was parsed by HeaderParser. So we now check to see if the body is a string first, and if so just we just emit it. ........
* Merged revisions 78268 via svnmerge fromSenthil Kumaran2010-02-202-2/+6
| | | | svn+ssh://pythondev@svn.python.org/python/trunk
* Merged revisions 78249 via svnmerge fromEzio Melotti2010-02-206-42/+25
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78249 | ezio.melotti | 2010-02-20 11:40:07 +0200 (Sat, 20 Feb 2010) | 1 line Remove e assertIs definitions and use correct assert* methods. ........
* Importlib was not matching import's handling of .pyc files where it had lessBrett Cannon2010-02-192-29/+109
| | | | | | then 8 bytes total in the file. Fixes issues 7361 & 7875.
* Check that sys.path_hooks and __import__ are not changed by tests.Brett Cannon2010-02-191-1/+12
|
* urllib.urlparse -> urllib.parse.urlparseEzio Melotti2010-02-191-5/+5
|