summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 76956 via svnmerge fromTarek Ziadé2009-12-2124-78/+62
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76956 | tarek.ziade | 2009-12-21 02:22:46 +0100 (Mon, 21 Dec 2009) | 1 line massive import cleaning in Distutils ........
* Merged revisions 76952 via svnmerge fromTarek Ziadé2009-12-212-3/+24
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76952 | tarek.ziade | 2009-12-21 00:23:34 +0100 (Mon, 21 Dec 2009) | 1 line Fixed #7552: fixed distutils.command.upload failure on very long passwords ........
* Merged revisions 76948 via svnmerge fromMark Dickinson2009-12-201-63/+50
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76948 | mark.dickinson | 2009-12-20 20:34:44 +0000 (Sun, 20 Dec 2009) | 3 lines Issue #7554: Various fixups in test_cmath.py: remove code duplication, use new-style formatting. Thanks Florent Xicluna for the patch. ........
* Merged revisions 76939,76941 via svnmerge fromMark Dickinson2009-12-201-2/+4
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76939 | mark.dickinson | 2009-12-20 19:45:37 +0000 (Sun, 20 Dec 2009) | 1 line Issue #7554: Fix incorrect usage of rAssertAlmostEqual. Thanks Florent Xicluna. ........ r76941 | mark.dickinson | 2009-12-20 19:52:36 +0000 (Sun, 20 Dec 2009) | 1 line Fix for consistency with py3k keyword-only version of assertAlmostEqual ........
* Merged revisions 76934-76935 via svnmerge fromR. David Murray2009-12-202-19/+23
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76934 | r.david.murray | 2009-12-20 11:24:46 -0500 (Sun, 20 Dec 2009) | 2 lines Fix comment typo. ........ r76935 | r.david.murray | 2009-12-20 11:46:06 -0500 (Sun, 20 Dec 2009) | 10 lines Issue #7376: When called with no arguments doctest was running a self-test. Because of a change to the way tracebacks are printed, this self-test was failing. The test is run (and passes) during normal regression testing. So instead of running the failing self-test this patch makes doctest emit a usage message. This is better behavior anyway since passing in arguments is the real reason to run doctest as a command. Bug discovery and initial patch by Florent Xicluna. ........
* Merged revisions 76930 via svnmerge fromMark Dickinson2009-12-201-1/+16
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76930 | mark.dickinson | 2009-12-20 15:57:56 +0000 (Sun, 20 Dec 2009) | 1 line Add missing tests for PyArg_Parse* with format 'h' ........
* Recorded merge of revisions 76925 via svnmerge fromGeorg Brandl2009-12-201-15/+14
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76925 | georg.brandl | 2009-12-20 15:33:20 +0100 (So, 20 Dez 2009) | 1 line #7381: subprocess documentation and library docstring consistency fixes. ........
* Merged revisions 76908 via svnmerge fromSenthil Kumaran2009-12-203-43/+112
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76908 | senthil.kumaran | 2009-12-20 11:35:13 +0530 (Sun, 20 Dec 2009) | 4 lines Fix for issue 7291 - urllib2 cannot handle https with proxy requiring auth Refactored HTTPHandler tests and added testcase for proxy authorization. ........
* Merged revisions 76896,76898 via svnmerge fromAntoine Pitrou2009-12-191-4/+14
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76896 | antoine.pitrou | 2009-12-19 22:01:10 +0100 (sam., 19 déc. 2009) | 3 lines Issue #7545: improve documentation of the `buffering` argument in io.open(). ........ r76898 | antoine.pitrou | 2009-12-19 22:06:36 +0100 (sam., 19 déc. 2009) | 3 lines Remove superfetatory paragraph (left there by mistake). ........
* #7380: Fix some str/bytearray/bytes issues in uuid docs and implementation.Georg Brandl2009-12-192-3/+9
|
* Merged revisions 76878 via svnmerge fromMark Dickinson2009-12-191-0/+82
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76878 | mark.dickinson | 2009-12-19 11:07:23 +0000 (Sat, 19 Dec 2009) | 3 lines Issue #3366: Add error function and complementary error function to math module. ........
* Merged revisions 76804 via svnmerge fromEzio Melotti2009-12-181-3/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76804 | ezio.melotti | 2009-12-13 20:54:53 +0200 (Sun, 13 Dec 2009) | 1 line #7342: make sure that the datetime object in test_fraction always has a number of microseconds != 0 ........
* Merged revisions 76861 via svnmerge fromMark Dickinson2009-12-162-7/+76
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76861 | mark.dickinson | 2009-12-16 20:13:40 +0000 (Wed, 16 Dec 2009) | 3 lines Issue #3366: Add expm1 function to math module. Thanks Eric Smith for testing on Windows. ........
* Merged revisions 76856 via svnmerge fromR. David Murray2009-12-161-11/+9
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76856 | r.david.murray | 2009-12-16 06:49:46 -0500 (Wed, 16 Dec 2009) | 2 lines Issue #7396: fix -s, which was broken by the -j enhancement. ........
* Merged revisions 74558 via svnmerge fromKristján Valur Jónsson2009-12-162-5/+118
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74558 | kristjan.jonsson | 2009-08-27 23:13:18 +0000 (fim., 27 ßg·. 2009) | 2 lines Issue 6654 Allow the XML-RPC server to use the HTTP request path when dispatching. Added a MultiPathXMLRPCServer class that uses the feature, plus unit tests. ........
* Merged revisions 76840 via svnmerge fromR. David Murray2009-12-141-2/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76840 | r.david.murray | 2009-12-14 16:57:39 -0500 (Mon, 14 Dec 2009) | 3 lines Issue #7498: make test_multiprocessing use test_support.find_unused_port instead of a hard coded port number in test_rapid_restart. ........
* Issue #4757: `zlib.compress` and other methods in the zlib module nowAntoine Pitrou2009-12-143-23/+40
| | | | | raise a TypeError when given an `str` object (rather than a `bytes`-like object). Patch by Victor Stinner and Florent Xicluna.
* Fix a minor grammatical error.Brett Cannon2009-12-131-1/+1
|
* Merged revisions 76805 via svnmerge fromBenjamin Peterson2009-12-132-4/+41
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76805 | benjamin.peterson | 2009-12-13 13:19:07 -0600 (Sun, 13 Dec 2009) | 7 lines accept None as the same as having passed no argument in file types #7349 This is for consistency with imitation file objects like StringIO and BytesIO. This commit also adds a few tests, where they were lacking for concerned methods. ........
* Merged revisions 76780 via svnmerge fromLars Gustäbel2009-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76780 | lars.gustaebel | 2009-12-13 12:32:27 +0100 (Sun, 13 Dec 2009) | 21 lines Issue #7357: No longer suppress fatal extraction errors by default. TarFile's errorlevel argument controls how errors are handled that occur during extraction. There are three possible levels 0, 1 and 2. If errorlevel is set to 1 or 2 fatal errors (e.g. a full filesystem) are raised as exceptions. If it is set to 0, which is the default value, extraction errors are suppressed, and error messages are written to the debug log instead. But, if the debug log is not activated, which is the default as well, all these errors go unnoticed. The original intention was to imitate GNU tar which tries to extract as many members as possible instead of stopping on the first error. It turns out that this is no good default behaviour for a tar library. This patch simply changes the default value for the errorlevel argument from 0 to 1, so that fatal extraction errors are raised as EnvironmentError exceptions. ........
* Merged revisions 76052,76522,76591,76689,76697,76733 via svnmerge fromBenjamin Peterson2009-12-132-17/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76052 | gregory.p.smith | 2009-11-01 20:02:38 -0600 (Sun, 01 Nov 2009) | 5 lines see issue1006238, this merges in the following patch to ease cross compiling the printf %zd check. http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.5-cross-printf.patch?rev=1.1&view=markup ........ r76522 | barry.warsaw | 2009-11-25 12:38:32 -0600 (Wed, 25 Nov 2009) | 2 lines Add mktime_tz to __all__. It's documented as being available in email.utils. ........ r76591 | benjamin.peterson | 2009-11-29 16:26:26 -0600 (Sun, 29 Nov 2009) | 4 lines now that deepcopy can handle instance methods, this hack can be removed #7409 Thanks Robert Collins ........ r76689 | benjamin.peterson | 2009-12-06 11:37:48 -0600 (Sun, 06 Dec 2009) | 1 line rewrite translate_newlines for clarity ........ r76697 | benjamin.peterson | 2009-12-06 15:24:30 -0600 (Sun, 06 Dec 2009) | 2 lines fix test_parser from tokenizer tweak ........ r76733 | benjamin.peterson | 2009-12-09 21:37:59 -0600 (Wed, 09 Dec 2009) | 1 line substitute PyDict_Check() for PyObject_IsInstance ........
* Clarify importlib.abc.PyPycLoader.write_bytecode().Brett Cannon2009-12-121-2/+3
|
* Merged revisions 76763 via svnmerge fromAntoine Pitrou2009-12-121-0/+3
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76763 | antoine.pitrou | 2009-12-12 20:13:08 +0100 (sam., 12 déc. 2009) | 7 lines Issue #7466: segmentation fault when the garbage collector is called in the middle of populating a tuple. Patch by Florent Xicluna. (note: no NEWS entry for trunk since the bug was introduced in 2.7/3.1) ........
* Merged revisions 76755 via svnmerge fromMark Dickinson2009-12-112-5/+150
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76755 | mark.dickinson | 2009-12-11 17:29:33 +0000 (Fri, 11 Dec 2009) | 2 lines Issue #3366: Add lgamma function to math module. ........
* Merged revisions 76750 via svnmerge fromTarek Ziadé2009-12-101-47/+26
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76750 | tarek.ziade | 2009-12-10 20:29:53 +0100 (Thu, 10 Dec 2009) | 1 line using an existing file to avoid dealing with a sleep to test file ages ........
* Merged revisions 76746 via svnmerge fromTarek Ziadé2009-12-102-35/+130
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76746 | tarek.ziade | 2009-12-10 16:29:03 +0100 (Thu, 10 Dec 2009) | 1 line added test coverage for distutils.dep_util, and cleaned up the module ........
* Fix variants of deque.extend: d.extend(d) d+=d d.extendleft(d)Raymond Hettinger2009-12-101-0/+11
|
* Merged revisions 76726-76727 via svnmerge fromR. David Murray2009-12-102-3/+196
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk The merge adds a test with an invalid rather than a missing line end, since the py3K code passed the original issue 5949 test. New test also by Scott Dial. ........ r76726 | r.david.murray | 2009-12-09 10:15:31 -0500 (Wed, 09 Dec 2009) | 6 lines Issue 5949: fixed IMAP4_SSL hang when the IMAP server response is missing proper end-of-line termination. Patch and tests by Scott Dial. The new tests include a test harness which will make it easier to add additional tests. ........ r76727 | r.david.murray | 2009-12-09 11:41:39 -0500 (Wed, 09 Dec 2009) | 2 lines Skip new imaplib SSL tests if ssl is not available. ........
* Add a reverse() method to collections.deque().Raymond Hettinger2009-12-101-0/+12
|
* Issue #7461: objects returned by os.popen() should support the context ↵Antoine Pitrou2009-12-092-0/+12
| | | | manager protocol
* Merged revisions 76720 via svnmerge fromAntoine Pitrou2009-12-081-3/+12
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76720 | antoine.pitrou | 2009-12-08 20:46:38 +0100 (mar., 08 déc. 2009) | 3 lines Make test_pipes a little bit more robust. ........
* Merged revisions 76718 via svnmerge fromAntoine Pitrou2009-12-081-1/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76718 | antoine.pitrou | 2009-12-08 20:35:12 +0100 (mar., 08 déc. 2009) | 3 lines Fix transient refleaks in test_urllib. Thanks to Florent Xicluna. ........
* Merged revisions 76716 via svnmerge fromAntoine Pitrou2009-12-081-1/+2
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76716 | antoine.pitrou | 2009-12-08 20:25:51 +0100 (mar., 08 déc. 2009) | 4 lines Fix the transient refleaks in test_zipimport_support. Diagnosis and original patch by Florent Xicluna (flox). ........
* Merged revisions 76708 via svnmerge fromAntoine Pitrou2009-12-081-2/+11
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76708 | antoine.pitrou | 2009-12-08 16:40:51 +0100 (mar., 08 déc. 2009) | 4 lines Issue #6986: Fix crash in the JSON C accelerator when called with the wrong parameter types. Patch by Victor Stinner. ........
* Merged revisions 76702,76704 via svnmerge fromTarek Ziadé2009-12-082-18/+101
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76702 | tarek.ziade | 2009-12-08 09:56:49 +0100 (Tue, 08 Dec 2009) | 1 line Issue #7457: added a read_pkg_file method to distutils.dist.DistributionMetadata so we can read back PKG-INFO files ........ r76704 | tarek.ziade | 2009-12-08 10:39:51 +0100 (Tue, 08 Dec 2009) | 1 line removed the usage of rfc822 in favor of email.message.Message ........
* logging: Improved support for SMTP over TLS.Vinay Sajip2009-12-061-6/+9
|
* logging: Added optional 'secure' parameter to SMTPHandler.Vinay Sajip2009-12-061-2/+10
|
* Merged revisions 76684 via svnmerge fromTarek Ziadé2009-12-062-2/+18
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76684 | tarek.ziade | 2009-12-06 10:22:40 +0100 (Sun, 06 Dec 2009) | 1 line Fixed #1923: make sure we don't strip meaningful whitespace in PKG-INFO Description field ........
* Issue #7435: Remove duplicate int/long tests, and otherMark Dickinson2009-12-0514-607/+64
| | | | references to long in py3k. Patch provided by flox.
* Merged revisions 76659 via svnmerge fromR. David Murray2009-12-041-36/+32
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76659 | r.david.murray | 2009-12-03 18:57:59 -0500 (Thu, 03 Dec 2009) | 4 lines Issue 7431: use TESTFN in test_linecache instead of trying to create a file in the Lib/test directory, which might be read-only for the user running the tests. ........
* Merged revisions 76651 via svnmerge fromMartin v. Löwis2009-12-031-0/+23
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76651 | martin.v.loewis | 2009-12-03 21:53:51 +0100 (Do, 03 Dez 2009) | 3 lines Issue #4120: Drop reference to CRT from manifest when building extensions with msvc9compiler. ........
* Recorded merge of revisions 76642 via svnmerge fromPhilip Jenvey2009-12-031-3/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76642 | philip.jenvey | 2009-12-02 18:40:13 -0800 (Wed, 02 Dec 2009) | 1 line actually close files ........
* Merged revisions 76636 via svnmerge fromAntoine Pitrou2009-12-021-0/+22
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76636 | antoine.pitrou | 2009-12-02 21:37:54 +0100 (mer., 02 déc. 2009) | 5 lines Issue #7333: The `posix` module gains an `initgroups()` function providing access to the initgroups(3) C library call on Unix systems which implement it. Patch by Jean-Paul Calderone. ........
* Merged revisions 76632 via svnmerge fromEric Smith2009-12-021-0/+35
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76632 | eric.smith | 2009-12-02 12:43:06 -0500 (Wed, 02 Dec 2009) | 1 line Issue #4482: Add tests for special float value formatting. ........
* Merged revisions 76625 via svnmerge fromAmaury Forgeot d'Arc2009-12-011-0/+11
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76625 | amaury.forgeotdarc | 2009-12-01 22:51:04 +0100 (mar., 01 déc. 2009) | 3 lines #7419: Fix a crash on Windows in locale.setlocale() when the category is outside the allowed range. ........
* Issue 7410: deepcopy of itertools.count() reset the count.Raymond Hettinger2009-11-301-0/+9
|
* #6077: on Windows, fix truncation of a tempfile.TemporaryFile opened in ↵Amaury Forgeot d'Arc2009-11-302-12/+13
| | | | | | | | "wt+" mode: files opened with os.open() stop on the first \x1a (Ctrl-Z) unless os.O_BINARY is used. Will backport to 3.1
* Merged revisions 76588 via svnmerge fromTarek Ziadé2009-11-291-1/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76588 | tarek.ziade | 2009-11-29 23:20:30 +0100 (Sun, 29 Nov 2009) | 1 line Fixed #7408: dropped group ownership checking because it relies on os-specific rules ........
* Issue #4486: When an exception has an explicit cause, do not print its ↵Antoine Pitrou2009-11-282-4/+25
| | | | implicit context too.
* Merged revisions 76571 via svnmerge fromAntoine Pitrou2009-11-282-0/+15
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76571 | antoine.pitrou | 2009-11-28 16:55:58 +0100 (sam., 28 nov. 2009) | 3 lines Issue #1515: Enable use of deepcopy() with instance methods. Patch by Robert Collins. ........