summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 78418 via svnmerge fromEric Smith2010-02-243-36/+119
| | | | | | | | | | 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 78412 via svnmerge fromR. David Murray2010-02-242-15/+8
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78412 | r.david.murray | 2010-02-23 21:31:27 -0500 (Tue, 23 Feb 2010) | 6 lines Issue 7975: in python 2.6 bsddb.dbshelve switched from DictMixin to MutableMapping, and thereby lost functionality because the replacement functionality was implemented incorrectly or incompletely). Since bsddb isn't in py3k, this patch just goes back to using DictMixin in order to correct the regression. ........
* 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 ........ ................
* Blocked revisions 78403 via svnmergeR. David Murray2010-02-240-0/+0
| | | | | | | | | ........ 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. ........
* Blocked revisions 78351 via svnmergeR. David Murray2010-02-240-0/+0
| | | | | | | | | | | ........ 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 78392 via svnmerge fromVictor Stinner2010-02-233-1/+25
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78392 | victor.stinner | 2010-02-24 00:16:07 +0100 (mer., 24 févr. 2010) | 4 lines Issue #7649: Fix u'%c' % char for character in range 0x80..0xFF => raise an UnicodeDecodeError. Patch written by Ezio Melotti. ........
* Blocked revisions 78384 via svnmergeR. David Murray2010-02-230-0/+0
| | | | | | | | | | ........ 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-233-3/+23
| | | | | | | | | | | | 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. ........
* Blocked revisions 78372-78373 via svnmergeMark Dickinson2010-02-230-0/+0
| | | | | | | | | | | | ........ 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. ........
* Blocked revisions 78367 via svnmergeTarek Ziadé2010-02-230-0/+0
| | | | | | | | ........ r78367 | tarek.ziade | 2010-02-23 00:53:05 -0500 (Tue, 23 Feb 2010) | 1 line fixed #5801: removed spurious empty lines in wsgiref ........
* Blocked revisions 78364 via svnmergeTarek Ziadé2010-02-230-0/+0
| | | | | | | | ........ 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 ........
* Blocked revisions 78359-78360 via svnmergeTarek Ziadé2010-02-230-0/+0
| | | | | | | | | | | | ........ 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 ........
* Blocked revisions 78354 via svnmergeTarek Ziadé2010-02-230-0/+0
| | | | | | | | ........ r78354 | tarek.ziade | 2010-02-22 23:57:05 -0500 (Mon, 22 Feb 2010) | 1 line removed debugging code ........
* Blocked revisions 77949 via svnmergeTarek Ziadé2010-02-230-0/+0
| | | | | | | | ........ r77949 | tarek.ziade | 2010-02-03 10:38:12 -0500 (Wed, 03 Feb 2010) | 1 line leaving global attributes for backward compat ........
* commit the rest of my svnmergeJack Diederich2010-02-220-0/+0
|
* Merged revisions 78339 via svnmerge fromJack Diederich2010-02-223-0/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78339 | jack.diederich | 2010-02-22 16:27:38 -0500 (Mon, 22 Feb 2010) | 1 line * fix issue#7476 ........
* Blocked revisions 78329 via svnmergeEric Smith2010-02-220-0/+0
| | | | | | | | ........ 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. ........
* Merged revisions 75066 via svnmerge fromAndrew M. Kuchling2010-02-223-4/+15
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75066 | andrew.kuchling | 2009-09-25 18:23:54 -0400 (Fri, 25 Sep 2009) | 4 lines #6243: fix segfault when keyname() returns a NULL pointer. Bug noted by Trundle, patched by Trundle and Jerry Chen. ........
* Merged revisions 78318 via svnmerge fromAndrew M. Kuchling2010-02-222-2/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78318 | andrew.kuchling | 2010-02-22 11:26:47 -0500 (Mon, 22 Feb 2010) | 1 line #7597: curses.use_env() can be called before initscr(). Noted by Kan-Ru Chen ........
* Merged revisions 78312 via svnmerge fromMark Dickinson2010-02-221-3/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78312 | mark.dickinson | 2010-02-22 15:40:28 +0000 (Mon, 22 Feb 2010) | 1 line Clarify description of three-argument pow for Decimal types: the exponent of the result is always 0. ........
* Merged revisions 78303 via svnmerge fromAndrew M. Kuchling2010-02-221-0/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78303 | andrew.kuchling | 2010-02-22 09:53:17 -0500 (Mon, 22 Feb 2010) | 1 line #7794: describe 2.6 support for executing directories and zip archives ........
* 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. ........
* Blocked revisions 78287 via svnmergeMark Dickinson2010-02-210-0/+0
| | | | | | | | ........ 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. ........
* Blocked revisions 78280 via svnmergeMark Dickinson2010-02-210-0/+0
| | | | | | | | ........ r78280 | mark.dickinson | 2010-02-21 12:57:35 +0000 (Sun, 21 Feb 2010) | 1 line Fix complex type to avoid implicit calls to complex.__coerce__. ........
* 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 78272 via svnmerge fromEzio Melotti2010-02-212-3/+16
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78272 | ezio.melotti | 2010-02-21 00:34:21 +0200 (Sun, 21 Feb 2010) | 1 line skip tests with a non-ascii cwd when the file system encoding is ascii ........
* Merged revisions 78274 via svnmerge fromR. David Murray2010-02-214-2/+48
| | | | | | | | | | | | | | | | | 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 78101 via svnmerge fromEzio Melotti2010-02-201-9/+9
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78101 | georg.brandl | 2010-02-08 02:04:54 +0200 (Mon, 08 Feb 2010) | 1 line Fix test_fnmatch. ........
* Merged revisions 78268 via svnmerge fromSenthil Kumaran2010-02-202-2/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78268 | senthil.kumaran | 2010-02-21 03:35:34 +0530 (Sun, 21 Feb 2010) | 3 lines Fix for Issue7751: urllib.urlopen("///C|/foo/bar/spam.foo") ........
* Merged revisions 78247 via svnmerge fromEzio Melotti2010-02-208-5/+76
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78247 | ezio.melotti | 2010-02-20 10:09:39 +0200 (Sat, 20 Feb 2010) | 1 line #3426: os.path.abspath now returns unicode when its arg is unicode. ........
* Merged revisions 78234 via svnmerge fromSenthil Kumaran2010-02-192-2/+12
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78234 | senthil.kumaran | 2010-02-19 13:02:48 +0530 (Fri, 19 Feb 2010) | 2 lines Fix for Issue7904. urlparse.urlsplit to handle schemes in the way defined by RFC3986 ........
* Merged revisions 78213,78215 via svnmerge fromMartin v. Löwis2010-02-183-9/+12
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78213 | martin.v.loewis | 2010-02-18 10:22:20 +0100 (Do, 18 Feb 2010) | 3 lines Stop providing crtassem.h symbols when compiling with Visual Studio 2010, as msvcr100.dll is not a platform assembly anymore. ........ r78215 | martin.v.loewis | 2010-02-18 13:45:45 +0100 (Do, 18 Feb 2010) | 1 line Move bsddb47 macros before their use, to make VS 2010 happy. ........
* Blocked revisions 78217-78218 via svnmergeMark Dickinson2010-02-180-0/+0
| | | | | | | | | | | | | | | ........ r78217 | mark.dickinson | 2010-02-18 14:27:02 +0000 (Thu, 18 Feb 2010) | 5 lines Issue #7633: Context method in the decimal module (with the exception of the 'canonical' and 'is_canonical' methods) now consistently accept integer arguments wherever a Decimal instance is accepted. Thanks Juan José Conti for the patch. ........ r78218 | mark.dickinson | 2010-02-18 14:45:33 +0000 (Thu, 18 Feb 2010) | 1 line Doctest fixes for decimal.py: add an integer-argument doctest for logical_invert; don't use integer literals with a leading zero. ........
* Merged revisions 78207 via svnmerge fromEzio Melotti2010-02-162-3/+14
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78207 | ezio.melotti | 2010-02-17 01:26:09 +0200 (Wed, 17 Feb 2010) | 1 line #7930: fix stripid ........
* Merged revisions 78202 via svnmerge fromMartin v. Löwis2010-02-153-6/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78202 | martin.v.loewis | 2010-02-15 22:41:12 +0100 (Mo, 15 Feb 2010) | 2 lines Issue #7903: Define _BSD_SOURCE through OpenBSD 4.9. ........
* Merged revisions 78198 via svnmerge fromEric Smith2010-02-151-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78198 | eric.smith | 2010-02-15 06:55:38 -0500 (Mon, 15 Feb 2010) | 1 line Remove incorrect apostrophe. ........
* Merged revisions 78194 via svnmerge fromMartin v. Löwis2010-02-153-16/+34
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78194 | martin.v.loewis | 2010-02-15 09:32:00 +0100 (Mo, 15 Feb 2010) | 2 lines Issue #3920: Define _BSD_SOURCE on OpenBSD 4.4. ........
* Merged revisions 78189 via svnmerge fromMark Dickinson2010-02-142-6/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78189 | mark.dickinson | 2010-02-14 13:40:30 +0000 (Sun, 14 Feb 2010) | 1 line Silence more 'comparison between signed and unsigned' warnings. ........
* Merged revisions 78182,78188 via svnmerge fromGeorg Brandl2010-02-141-6/+8
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78182 | georg.brandl | 2010-02-14 09:18:23 +0100 (So, 14 Feb 2010) | 1 line #7926: fix stray parens. ........ r78188 | georg.brandl | 2010-02-14 14:38:12 +0100 (So, 14 Feb 2010) | 1 line #7926: fix-up wording. ........
* Merged revisions 78183-78184 via svnmerge fromMark Dickinson2010-02-142-11/+13
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78183 | mark.dickinson | 2010-02-14 12:16:43 +0000 (Sun, 14 Feb 2010) | 1 line Silence some 'comparison between signed and unsigned' compiler warnings. ........ r78184 | mark.dickinson | 2010-02-14 12:31:26 +0000 (Sun, 14 Feb 2010) | 1 line Silence more compiler warnings; fix an instance of potential undefined behaviour from signed overflow. ........
* Merged revisions 78176 via svnmerge fromEzio Melotti2010-02-141-6/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78176 | ezio.melotti | 2010-02-14 04:50:23 +0200 (Sun, 14 Feb 2010) | 1 line #7921: fix links. Patch by Brian Curtin. ........
* Blocked revisions 78166 via svnmergeMark Dickinson2010-02-120-0/+0
| | | | | | | | ........ r78166 | mark.dickinson | 2010-02-12 21:16:38 +0000 (Fri, 12 Feb 2010) | 1 line Check that 'd' isn't allowed as an exponent specifier in inputs to the float function. ........
* Merged revisions 78162 via svnmerge fromEzio Melotti2010-02-111-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78162 | ezio.melotti | 2010-02-12 01:50:57 +0200 (Fri, 12 Feb 2010) | 1 line #7907: fix wrong function name in doc. Patch by Brian Curtin. ........
* Merged revisions 78154 via svnmerge fromRonald Oussoren2010-02-112-9/+9
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78154 | ronald.oussoren | 2010-02-11 14:26:54 +0100 (Thu, 11 Feb 2010) | 2 lines Finish fix for issue 7715, after explicit search for calls to `arch` ........
* Explicitly call '/usr/bin/arch' instead of just 'arch' to avoid usingRonald Oussoren2010-02-112-7/+7
| | | | | | | | a user-installed version of arch instead of the intended version. This is needed because the interface of GNU arch is not quite compatible with what the build machinery expects. Fixes issue #7715 (backport from the trunk)
* Add testcase for readline-using-libedit on OSXRonald Oussoren2010-02-111-0/+42
|
* Merged revisions 78141-78142 via svnmerge fromR. David Murray2010-02-114-12/+26
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78141 | r.david.murray | 2010-02-10 20:38:42 -0500 (Wed, 10 Feb 2010) | 6 lines Issue 5754: tweak shelve doc wording to make it clearer that even when writeback=True values are written to the backing store when assigned to the shelf. Add test to confirm that this happens. Doc patch and added test by Robert Lehmann. I also fixed the cross references to the sync and close methods. ........ r78142 | r.david.murray | 2010-02-10 20:56:42 -0500 (Wed, 10 Feb 2010) | 3 lines Improve issue 7835 fix per MAL to handle the case that the module dictionary has also been cleared. ........
* Merged revisions 78137 via svnmerge fromR. David Murray2010-02-102-1/+8
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78137 | r.david.murray | 2010-02-10 17:42:04 -0500 (Wed, 10 Feb 2010) | 8 lines Issue 7835: Shelve's __del__ method calls its close method, and its close method refers to an identifier in the global module namespace. This means that when __del__ is called during interpreter shutdown (if, for example, the calling program still has a pointer to the shelf), sometimes that global identifier would wind up being None, causing mysterious 'ignored' exceptions. This patch checks for the possible None value first before using the global, thus avoiding the error messages. ........
* Backport the patch that enables linking the readlineRonald Oussoren2010-02-074-10/+95
| | | | module to libedit on OSX 10.5 or later. (Issue 6877)
* Blocked revisions 78088 via svnmergeAntoine Pitrou2010-02-070-0/+0
| | | | | | | | ........ r78088 | antoine.pitrou | 2010-02-07 17:56:23 +0100 (dim., 07 févr. 2010) | 4 lines Issue #7870: Remove duplicate test methods. Reported by Georg Brandl. ........