summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 72979 via svnmerge fromPhilip Jenvey2009-05-283-30/+29
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72979 | philip.jenvey | 2009-05-27 22:58:44 -0700 (Wed, 27 May 2009) | 2 lines explicitly close files ........
* Remove useless compatibility statementsAntoine Pitrou2009-05-271-7/+0
|
* Merged revisions 72966 via svnmerge fromR. David Murray2009-05-272-0/+7
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72966 | r.david.murray | 2009-05-27 16:07:21 -0400 (Wed, 27 May 2009) | 4 lines fix issue #6121 by stripping spaces from the argument in the 'help' function. ........
* * Fix-up a TODO (support the sort_key option).Raymond Hettinger2009-05-272-1/+6
| | | | | | | | * Fix an error where True/False were being written-out as title-cased strings when used a dictionary keys. * Speed-up iteration over dicts by looping over items() rather than keys() followed by value lookups. * TODO: sort only by keys, not keys and values.
* Issue 6105: json encoder to respect iteration order of its inputs.Raymond Hettinger2009-05-271-0/+8
|
* Merged revisions 72957 via svnmerge fromBenjamin Peterson2009-05-271-1/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72957 | benjamin.peterson | 2009-05-26 21:43:46 -0500 (Tue, 26 May 2009) | 1 line correctly handle descrs with __missing__ ........
* Stronger tests for namedtuple() to prevent future name conflict errors.Raymond Hettinger2009-05-271-0/+31
|
* Fix field name conflicts for named tuples.Raymond Hettinger2009-05-272-7/+16
|
* Remove debug statement that leaked into the repository.Ronald Oussoren2009-05-261-1/+0
|
* * Adapt framework install makefiles to 2to3 toolRonald Oussoren2009-05-261-0/+1
| | | | | * Re-enable installation of files in /usr/local/bin in the OSX installer because those files no longer clash with a 2.x install.
* Fix for Issue6111.Ronald Oussoren2009-05-261-0/+6
|
* #6118: dont ignore encoding arguments for arguments with spaces in quote_plus().Georg Brandl2009-05-262-1/+16
|
* Merged revisions 72930 via svnmerge fromCollin Winter2009-05-261-0/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72930 | collin.winter | 2009-05-25 21:12:39 -0700 (Mon, 25 May 2009) | 1 line Issue 5794: fix cPickle's unpickling of recursive tuples. ........
* Merged revisions 72932 via svnmerge fromGeorg Brandl2009-05-261-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72932 | georg.brandl | 2009-05-26 09:50:23 +0200 (Di, 26 Mai 2009) | 1 line #6112: list.remove raises ValueError, not RuntimeError. ........
* Merged revisions 72924 via svnmerge fromGeorg Brandl2009-05-252-1/+78
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72924 | georg.brandl | 2009-05-25 23:02:56 +0200 (Mo, 25 Mai 2009) | 6 lines Allow multiple context managers in one with statement, as proposed in http://codereview.appspot.com/53094 and accepted by Guido. The construct is transformed into multiple With AST nodes so that there should be no problems with the semantics. ........
* Only try to intern str objects when unpickling attributes.Alexandre Vassalotti2009-05-251-8/+6
| | | | This matches the behaviour implmented in _pickle.
* Merged revisions 72907 via svnmerge fromBenjamin Peterson2009-05-251-1/+17
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72907 | benjamin.peterson | 2009-05-24 21:40:21 -0500 (Sun, 24 May 2009) | 1 line handle errors from _PyObject_LookupSpecial when __get__ fails ........
* Merged revisions 72905 via svnmerge fromBenjamin Peterson2009-05-252-43/+18
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72905 | benjamin.peterson | 2009-05-24 19:48:58 -0500 (Sun, 24 May 2009) | 4 lines make class skipping decorators the same as skipping every test of the class This removes ClassTestSuite and a good bit of hacks. ........
* Merged revisions 72893 via svnmerge fromMartin v. Löwis2009-05-242-1/+7
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72893 | martin.v.loewis | 2009-05-24 21:30:52 +0200 (So, 24 Mai 2009) | 3 lines Issue #6050: Don't fail extracting a directory from a zipfile if the directory already exists. ........
* Merged revisions 72891 via svnmerge fromMartin v. Löwis2009-05-241-0/+2
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72891 | martin.v.loewis | 2009-05-24 21:10:52 +0200 (So, 24 Mai 2009) | 5 lines Issue #6065: Do not try to build a version-independent installer if the package has extension modules. Also add NEWS entry for #5311. ........
* Merged revisions 72887 via svnmerge fromAntoine Pitrou2009-05-241-1/+16
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72887 | antoine.pitrou | 2009-05-24 17:40:09 +0200 (dim., 24 mai 2009) | 6 lines Issue #1309352: fcntl now converts its third arguments to a C `long` rather than an int, which makes some operations possible under 64-bit Linux (e.g. DN_MULTISHOT with F_NOTIFY). ........
* Issue #5761: Add the name of the underlying file to the repr() of various IO ↵Antoine Pitrou2009-05-233-5/+42
| | | | objects.
* Fix for issue 5259: ASCII encode the username and password before passingR. David Murray2009-05-232-1/+22
| | | | | it to encode_base64, which requires bytes in py3k. Fix by Musashi Tamura, tests by Marcin Bachry.
* Merged revisions 72859 via svnmerge fromAntoine Pitrou2009-05-231-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72859 | antoine.pitrou | 2009-05-23 18:32:32 +0200 (sam., 23 mai 2009) | 3 lines Issue #3877: skip a test_fileio subtest on all BSDs, not only FreeBSD ........
* Merged revisions 72848 via svnmerge fromEric Smith2009-05-231-0/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72848 | eric.smith | 2009-05-23 09:56:13 -0400 (Sat, 23 May 2009) | 1 line Issue 6089: str.format raises SystemError. ........
* Merged revisions 72838-72839 via svnmerge fromR. David Murray2009-05-231-5/+2
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72838 | r.david.murray | 2009-05-22 22:16:58 -0400 (Fri, 22 May 2009) | 3 lines Don't be so wordy in requires('network') in case other tests are added later, and skip the existing test if SSL is not available. ........ r72839 | r.david.murray | 2009-05-22 22:19:36 -0400 (Fri, 22 May 2009) | 2 lines Fix spelling left over from testing. ........
* Merged revisions 72835 via svnmerge fromR. David Murray2009-05-232-3/+30
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72835 | r.david.murray | 2009-05-22 20:48:58 -0400 (Fri, 22 May 2009) | 4 lines Fix Issue #4066: smtplib.SMTP_SSL._get_socket now correctly returns the socket. Patch by Farhan Ahmad, test by Marcin Bachry. ........
* Merged revisions 72817 via svnmerge fromPhilip Jenvey2009-05-221-2/+4
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72817 | philip.jenvey | 2009-05-21 22:35:32 -0700 (Thu, 21 May 2009) | 4 lines don't use subprocess.call with PIPEs as the child can fill the pipe buf and deadlock. add a warning to subprocess docs about this, similar to Popen.wait's. refs http://bugs.jython.org/issue1351 ........
* Refactor to remove duplicated nan/inf parsing code inMark Dickinson2009-05-201-0/+10
| | | | pystrtod.c, floatobject.c and dtoa.c.
* Merged revisions 72776,72796 via svnmerge fromJeffrey Yasskin2009-05-201-1/+22
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72776 | jeffrey.yasskin | 2009-05-18 14:14:54 -0700 (Mon, 18 May 2009) | 6 lines While I was modifying test_trace, it threw an exception when I accidentally made it try to set the line number from the trace callback for a 'call' event. This patch makes the error message a little more helpful in that case, and makes it a little less likely that a future editor will make the same mistake in test_trace. ........ r72796 | jeffrey.yasskin | 2009-05-20 10:57:57 -0700 (Wed, 20 May 2009) | 3 lines Fix issue #1689458 by teaching frame_setlineno how to jump to the first line of a code object. ........
* Issue #5829: complex('1e500') shouldn't raise OverflowErrorMark Dickinson2009-05-201-0/+7
|
* Merge r72792: POP_MARK was not in pickle protocol 0, SHORT_BINBYTES was not ↵Collin Winter2009-05-201-2/+2
| | | | in protocol 1.
* Merged revisions 72781 via svnmerge fromTarek Ziadé2009-05-192-11/+35
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72781 | tarek.ziade | 2009-05-19 18:17:21 +0200 (Tue, 19 May 2009) | 1 line fixed the 'package' option of build_ext ........
* Merged revisions 72777 via svnmerge fromCollin Winter2009-05-181-17/+21
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72777 | collin.winter | 2009-05-18 14:35:40 -0700 (Mon, 18 May 2009) | 1 line Issue 6032: fix refleaks in test_urllib2_localnet. ........
* Issue 6037: MutableSequence.__iadd__ should return self.Raymond Hettinger2009-05-181-0/+1
|
* Merged revisions 72768 via svnmerge fromTarek Ziadé2009-05-182-3/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72768 | tarek.ziade | 2009-05-18 14:21:26 +0200 (Mon, 18 May 2009) | 1 line Fixed #6053 - win32 fixes for distutils tests ........
* Merged revisions 72764 via svnmerge fromTarek Ziadé2009-05-181-2/+14
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72764 | tarek.ziade | 2009-05-18 10:20:55 +0200 (Mon, 18 May 2009) | 1 line working with relative paths to avoid tar warnings on absolute paths ........
* Merged revisions 72758 via svnmerge fromTarek Ziadé2009-05-182-8/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72758 | tarek.ziade | 2009-05-18 10:03:37 +0200 (Mon, 18 May 2009) | 1 line Fixed the library extension when distutils build_ext is used inplace ........
* Issue 5964: Fixed WeakSet __eq__ comparison to handle non-WeakSet objects.Robert Schuppenies2009-05-172-10/+15
|
* Merged revisions 72746 via svnmerge fromTarek Ziadé2009-05-171-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72746 | tarek.ziade | 2009-05-17 16:59:05 +0200 (Sun, 17 May 2009) | 1 line fixed the test name ........
* Use true booleans.Georg Brandl2009-05-171-2/+2
|
* Use PEP 8 and true booleans.Georg Brandl2009-05-171-8/+9
|
* Use PEP 8 and true booleans.Georg Brandl2009-05-171-6/+6
|
* Merged revisions 72736 via svnmerge fromTarek Ziadé2009-05-172-40/+110
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72736 | tarek.ziade | 2009-05-17 14:04:57 +0200 (Sun, 17 May 2009) | 1 line pep8-fied distutils.archive_util + added minimum test coverage ........
* Merged revisions 72730 via svnmerge fromTarek Ziadé2009-05-171-57/+48
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72730 | tarek.ziade | 2009-05-17 13:22:36 +0200 (Sun, 17 May 2009) | 1 line pep8-fied distutils.dir_util ........
* Merged revisions 72727 via svnmerge fromTarek Ziadé2009-05-172-11/+14
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72727 | tarek.ziade | 2009-05-17 13:11:57 +0200 (Sun, 17 May 2009) | 1 line removed sys.platform == 'mac' usage in distutils.dir_util ........
* Merged revisions 72721 via svnmerge fromTarek Ziadé2009-05-172-25/+38
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72721 | tarek.ziade | 2009-05-17 12:44:12 +0200 (Sun, 17 May 2009) | 1 line removed sys.platform == 'mac' support in distutils.dist.parse_command_line and improved test coverage ........
* Merged revisions 72713 via svnmerge fromTarek Ziadé2009-05-171-0/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72713 | tarek.ziade | 2009-05-17 12:07:48 +0200 (Sun, 17 May 2009) | 1 line not running this test with MSVC6 ........
* We dont have dbm.bsd support anymore.Georg Brandl2009-05-171-3/+3
|
* Merged revisions 72690 via svnmerge fromBenjamin Peterson2009-05-161-6/+17
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72690 | benjamin.peterson | 2009-05-16 16:44:25 -0500 (Sat, 16 May 2009) | 1 line properly lookup __instancecheck__ and __subclasscheck__ ........