summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Merged revisions 78014 via svnmerge fromR. David Murray2010-02-061-3/+5
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78014 | r.david.murray | 2010-02-05 23:27:21 -0500 (Fri, 05 Feb 2010) | 5 lines issue #7728: test_timeout was using a hardcoded port, which was causing buildbot failures. Changed to use test_support.bind_port. Patch by Florent Xicluna. ........
* copy lib2to3 from the trunkBenjamin Peterson2010-02-0696-0/+18147
|
* remove lib2to3 to updateBenjamin Peterson2010-02-0691-17302/+0
|
* Merged revisions 77989 via svnmerge fromAntoine Pitrou2010-02-052-1/+37
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77989 | antoine.pitrou | 2010-02-05 18:05:54 +0100 (ven., 05 févr. 2010) | 6 lines Issue #5677: Explicitly forbid write operations on read-only file objects, and read operations on write-only file objects. On Windows, the system C library would return a bogus result; on Solaris, it was possible to crash the interpreter. Patch by Stefan Krah. ........
* Merged revisions 69304 via svnmerge fromCollin Winter2010-02-031-6/+9
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69304 | neil.schemenauer | 2009-02-05 08:25:16 -0800 (Thu, 05 Feb 2009) | 4 lines Fix test_build_ext.py to work when building in a separate directory. Since "srcdir" should now be defined on all platforms, use it to find the module source. ........
* Merged revisions 77898 via svnmerge fromMartin v. Löwis2010-02-015-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ................ r77898 | martin.v.loewis | 2010-02-01 02:15:39 +0100 (Mo, 01 Feb 2010) | 17 lines Merged revisions 77855-77856,77870 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r77855 | benjamin.peterson | 2010-01-30 17:32:05 +0100 (Sa, 30 Jan 2010) | 1 line don't return node if it is not changed ........ r77856 | benjamin.peterson | 2010-01-30 17:35:29 +0100 (Sa, 30 Jan 2010) | 1 line return None to indicate no change ........ r77870 | benjamin.peterson | 2010-01-31 02:21:26 +0100 (So, 31 Jan 2010) | 1 line never return the original node given to transform() ........ ................
* Merged revisions 77892 via svnmerge fromVictor Stinner2010-01-311-0/+4
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77892 | victor.stinner | 2010-01-31 23:32:15 +0100 (dim., 31 janv. 2010) | 4 lines Issue #7819: Check sys.call_tracing() arguments types. py3k was already patched by issue #3661. ........
* Merged revisions 77879 via svnmerge fromMatthias Klose2010-01-311-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77879 | matthias.klose | 2010-01-31 17:46:26 +0100 (So, 31 Jan 2010) | 2 lines - Fix typo in os.execvp docstring. ........
* Merged revisions 77846 via svnmerge fromMartin v. Löwis2010-01-303-5/+69
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ................ r77846 | martin.v.loewis | 2010-01-30 11:56:23 +0100 (Sa, 30 Jan 2010) | 13 lines Merged revisions 77419,77435 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r77419 | benjamin.peterson | 2010-01-10 21:39:48 +0100 (So, 10 Jan 2010) | 1 line enclose path in quotes to handle paths with spaces correctly #7666 ........ r77435 | alexandre.vassalotti | 2010-01-12 01:36:54 +0100 (Di, 12 Jan 2010) | 2 lines Issue #1967: Add fixer for dictionary views. ........ ................
* Merged revisions 77821 via svnmerge fromMark Dickinson2010-01-293-1/+7
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77821 | mark.dickinson | 2010-01-29 17:11:39 +0000 (Fri, 29 Jan 2010) | 3 lines Issue #7788: Fix a crash produced by deleting a list slice with huge step value. Patch by Marcin Bachry. ........
* revert r77790. it requires a new-style class changeBenjamin Peterson2010-01-283-7/+2
|
* Issue #6939: Fix file I/O objects in the `io` module to keep the originalAntoine Pitrou2010-01-274-9/+26
| | | | | | file position when calling `truncate()`. It would previously change the file position to the given argument, which goes against the tradition of `ftruncate()` and other truncation APIs. Patch by Pascal Chambon.
* Merged revisions 77788-77789 via svnmerge fromBenjamin Peterson2010-01-273-2/+7
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77788 | benjamin.peterson | 2010-01-26 20:15:28 -0600 (Tue, 26 Jan 2010) | 1 line for UserDict to be compatible with abcs, it must subclass object ........ r77789 | benjamin.peterson | 2010-01-26 20:16:42 -0600 (Tue, 26 Jan 2010) | 1 line raise a clear TypeError when trying to register a non-class ........
* Revert r77730 and add back verify and vereq in case other projects use them, ↵Ezio Melotti2010-01-251-1/+25
| | | | but leave the changes in test_pprint and string_tests.
* Merged revisions 77735 via svnmerge fromBenjamin Peterson2010-01-252-2/+24
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77735 | benjamin.peterson | 2010-01-24 21:31:13 -0600 (Sun, 24 Jan 2010) | 1 line fix an UnboundLocalError when the release file is empty #7773 ........
* Merged revisions 77733 via svnmerge fromEzio Melotti2010-01-241-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77733 | ezio.melotti | 2010-01-24 23:47:59 +0200 (Sun, 24 Jan 2010) | 1 line #7269: fix failures in test_bsddb3. Patch by Florent Xicluna. ........
* Merged revisions 77729 via svnmerge fromEzio Melotti2010-01-243-69/+42
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77729 | ezio.melotti | 2010-01-24 22:48:35 +0200 (Sun, 24 Jan 2010) | 1 line remove archaic functions from test_support ........
* Merged revisions 77717 via svnmerge fromTarek Ziadé2010-01-244-17/+19
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77717 | tarek.ziade | 2010-01-24 01:33:32 +0100 (Sun, 24 Jan 2010) | 1 line Fixed #7748: now upload and register commands don't need to force the encoding anymore : DistributionMetada returns utf8 strings ........
* Merged revisions 77706 via svnmerge fromEzio Melotti2010-01-231-1/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77706 | ezio.melotti | 2010-01-23 12:43:05 +0200 (Sat, 23 Jan 2010) | 1 line Increased the overflow value on test_dealloc to make sure that it is big enough even for wide builds. ........
* Merged revisions 77697 via svnmerge fromEzio Melotti2010-01-221-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77697 | ezio.melotti | 2010-01-22 18:58:28 +0200 (Fri, 22 Jan 2010) | 1 line This should fix the failure introduced in r77680. The error message is now different and it caused the test to fail. The failing test is not present in 2.5 so it is failing only on 2.6 and newer versions. ........
* Merged revisions 77595 via svnmerge fromEzio Melotti2010-01-181-17/+17
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77595 | ezio.melotti | 2010-01-18 11:10:26 +0200 (Mon, 18 Jan 2010) | 1 line #7730: remove spaces after functions names ........
* Merged revisions 77573 via svnmerge fromAntoine Pitrou2010-01-171-0/+7
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77573 | antoine.pitrou | 2010-01-17 13:26:20 +0100 (dim., 17 janv. 2010) | 6 lines Issue #7561: Operations on empty bytearrays (such as `int(bytearray())`) could crash in many places because of the PyByteArray_AS_STRING() macro returning NULL. The macro now returns a statically allocated empty string instead. ........
* Add data file omitted by svnmerge.R. David Murray2010-01-161-0/+33
|
* Merged revisions 77517,77525 via svnmerge fromR. David Murray2010-01-162-0/+47
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77517 | r.david.murray | 2010-01-16 00:15:17 -0500 (Sat, 16 Jan 2010) | 6 lines Issue #1670765: Prevent email.generator.Generator from re-wrapping headers in multipart/signed MIME parts, which fixes one of the sources of invalid modifications to such parts by Generator. Patch and tests by Martin von Gagern. ........ r77525 | r.david.murray | 2010-01-16 11:08:32 -0500 (Sat, 16 Jan 2010) | 2 lines Fix issue number in comment. ........
* Merged revisions 77506 via svnmerge fromAntoine Pitrou2010-01-151-0/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77506 | antoine.pitrou | 2010-01-15 01:18:00 +0100 (ven., 15 janv. 2010) | 4 lines Issue #7701: Fix crash in binascii.b2a_uu() in debug mode when given a 1-byte argument. Patch by Victor Stinner. ........
* Merged revisions 77499 via svnmerge fromAntoine Pitrou2010-01-141-0/+6
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77499 | antoine.pitrou | 2010-01-14 18:25:24 +0100 (jeu., 14 janv. 2010) | 4 lines Issue #3299: Fix possible crash in the _sre module when given bad argument values in debug mode. Patch by Victor Stinner. ........
* Merged revisions 77442 via svnmerge fromEzio Melotti2010-01-124-8/+22
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77442 | ezio.melotti | 2010-01-12 05:32:05 +0200 (Tue, 12 Jan 2010) | 1 line #5827: make sure that normpath preserves unicode ........
* Merged revisions 77424 via svnmerge fromTarek Ziadé2010-01-111-81/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77424 | tarek.ziade | 2010-01-11 23:50:29 +0100 (Mon, 11 Jan 2010) | 1 line Fixed #5372: .o files are now always rebuilt because file age test don't work in some case ........
* Merged revisions 77411 via svnmerge fromSenthil Kumaran2010-01-101-3/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77411 | senthil.kumaran | 2010-01-10 23:05:05 +0530 (Sun, 10 Jan 2010) | 2 lines Fixed issue7648 - test_urllib2 fails on Windows if not run from C: ........
* Merged revisions 77403 via svnmerge fromMartin v. Löwis2010-01-101-25/+40
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77403 | martin.v.loewis | 2010-01-10 11:29:54 +0100 (So, 10 Jan 2010) | 2 lines Update root certificate to CAcert. ........
* added more test coverage from trunk for #7617Tarek Ziadé2010-01-082-0/+59
|
* Merged revisions 77377 via svnmerge fromTarek Ziadé2010-01-082-2/+134
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77377 | tarek.ziade | 2010-01-09 00:42:23 +0100 (Sat, 09 Jan 2010) | 1 line Fixed #7617: all flavors of gcc should be recognized now ........
* Merged revisions 75669-75671 via svnmerge fromTarek Ziadé2010-01-086-0/+64
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75669 | tarek.ziade | 2009-10-24 17:10:37 +0200 (Sat, 24 Oct 2009) | 1 line Issue #7071: byte-compilation in Distutils now looks at sys.dont_write_bytecode ........ r75670 | tarek.ziade | 2009-10-24 17:19:03 +0200 (Sat, 24 Oct 2009) | 1 line fixed finally state in distutils.test_util ........ r75671 | tarek.ziade | 2009-10-24 17:51:30 +0200 (Sat, 24 Oct 2009) | 1 line fixed warning and error message ........
* Merged revisions 77370 via svnmerge fromAntoine Pitrou2010-01-081-1/+1
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77370 | antoine.pitrou | 2010-01-08 20:20:17 +0100 (ven., 08 janv. 2010) | 5 lines Issue #7092: Remove py3k warning when importing cPickle. 2to3 handles renaming of `cPickle` to `pickle`. The warning was annoying since there's no alternative to cPickle if you care about performance. Patch by Florent Xicluna. ........
* Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵Senthil Kumaran2010-01-081-1/+1
| | | | Patch by flox.
* Merged revisions 77352-77354 via svnmerge fromAntoine Pitrou2010-01-071-0/+9
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77352 | antoine.pitrou | 2010-01-07 18:46:49 +0100 (jeu., 07 janv. 2010) | 5 lines Issue #7455: Fix possible crash in cPickle on invalid input. Patch by Florent Xicluna. ........ r77353 | antoine.pitrou | 2010-01-07 18:49:37 +0100 (jeu., 07 janv. 2010) | 3 lines Fix attribution. Florent actually repackaged and reviewed Victor's patch (sorry!). ........ r77354 | antoine.pitrou | 2010-01-07 18:54:10 +0100 (jeu., 07 janv. 2010) | 3 lines Fix reattribution mistake when fixing attribution mistake! ........
* Merged revisions 74245 via svnmerge fromR. David Murray2010-01-062-1/+14
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74245 | amaury.forgeotdarc | 2009-07-28 18:15:30 -0400 (Tue, 28 Jul 2009) | 3 lines #6511: ZipFile will now raise BadZipfile when opening an empty or tiny file, like it does for larger invalid files. ........
* Merged revisions 77324 via svnmerge fromMark Dickinson2010-01-061-0/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77324 | mark.dickinson | 2010-01-06 16:20:22 +0000 (Wed, 06 Jan 2010) | 2 lines Add missing docstring for Context.divmod. Thanks Juan José Conti. ........
* Merged revisions 77222 via svnmerge fromBenjamin Peterson2010-01-021-3/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77222 | benjamin.peterson | 2010-01-01 20:43:04 -0600 (Fri, 01 Jan 2010) | 1 line remove use of deprecated os.popen #7619 ........
* rewrite for inferior assertRaisesBenjamin Peterson2009-12-301-1/+5
|
* Merged revisions 77157 via svnmerge fromBenjamin Peterson2009-12-301-0/+5
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77157 | benjamin.peterson | 2009-12-30 13:34:10 -0600 (Wed, 30 Dec 2009) | 5 lines check if the attribute is set before deleting it with T_OBJECT_EX (fixes #7604) Also, add a note to the docs about the better behavior of T_OBJECT_EX as compared to T_OBJECT. ........
* Merged revisions 77122 via svnmerge fromAmaury Forgeot d'Arc2009-12-291-0/+1
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77122 | amaury.forgeotdarc | 2009-12-29 23:03:38 +0100 (mar., 29 déc. 2009) | 3 lines #7413: Passing '\0' as the separator to datetime.datetime.isoformat() used to drop the time part of the result. ........
* Merged revisions 77058 via svnmerge fromSenthil Kumaran2009-12-271-2/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77058 | senthil.kumaran | 2009-12-27 14:41:09 +0530 (Sun, 27 Dec 2009) | 4 lines Fix for issue5625 - test_urllib2 fails - urlopen error file not on local host. This is on hosts with multiple ip addresses. ........
* Merged revisions 77045 via svnmerge fromEzio Melotti2009-12-241-1/+109
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77045 | ezio.melotti | 2009-12-25 00:25:17 +0200 (Fri, 25 Dec 2009) | 1 line #6108: unicode(exception) and str(exception) should return the same message ........
* Merged revisions 77041 via svnmerge fromMark Dickinson2009-12-241-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77041 | mark.dickinson | 2009-12-24 16:06:58 +0000 (Thu, 24 Dec 2009) | 1 line Issue #7568: typo in docstring. Thanks Mike Putnam. ........
* Merged revisions 77038 via svnmerge fromBenjamin Peterson2009-12-241-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77038 | benjamin.peterson | 2009-12-24 09:19:40 -0600 (Thu, 24 Dec 2009) | 1 line allow Process name to be unicode #7571 ........
* Merged revisions 77026 via svnmerge fromRonald Oussoren2009-12-241-0/+10
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77026 | ronald.oussoren | 2009-12-24 14:06:39 +0100 (Thu, 24 Dec 2009) | 8 lines On OSX the output of "uname -m" always reflects the 32-bit architecture for the machine ("i386" or "ppc"), even if the executable is 64-bit. This patchs ensures that the distutils platform architecture represents the architecture for the executable when running a 64-bit only executable on OSX. ........
* Merged revisions 77014 via svnmerge fromBenjamin Peterson2009-12-241-3/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77014 | benjamin.peterson | 2009-12-23 19:09:53 -0600 (Wed, 23 Dec 2009) | 1 line fix alleged refleak ........
* Issue: 7291. 2.6 backport missed the headers argument. Fixed it.Senthil Kumaran2009-12-241-1/+1
|
* Merged revisions 77007 via svnmerge fromGregory P. Smith2009-12-231-25/+54
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77007 | gregory.p.smith | 2009-12-23 01:31:11 -0800 (Wed, 23 Dec 2009) | 3 lines Fix possible integer overflow in lchown and fchown functions. For issue1747858. ........