summaryrefslogtreecommitdiff
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 78734-78735 via svnmerge fromFlorent Xicluna2010-03-081-0/+3
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78734 | florent.xicluna | 2010-03-06 19:07:18 +0100 (sam, 06 mar 2010) | 2 lines Create test_genericpath.CommonTest and reuse it to test other path modules. ........ r78735 | florent.xicluna | 2010-03-06 19:52:52 +0100 (sam, 06 mar 2010) | 2 lines Minor tweaking of previous r78734, and add a NEWS entry. ........
* bdecode was already gone in email 5. This merge adds the test fromR. David Murray2010-03-081-0/+1
| | | | | | | | | | | | | | | | | | | | | the trunk patch, and removes the last trace of bdecode, which was a commented out call in message.py. Merged revisions 78778 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78778 | r.david.murray | 2010-03-07 21:04:06 -0500 (Sun, 07 Mar 2010) | 9 lines Issue #7143: get_payload used to strip any trailing newline from a base64 transfer-encoded payload *after* decoding it; it no longer does. email had a special method in utils, _bdecode, specifically to do this, so it must have served a purpose at some point, yet it is clearly wrong per RFC. Fixed with Barry's approval, but no backport. Email package minor version number is bumped, now version 4.0.1. Patch by Joaquin Cuenca Abela. ........
* prevent generator finalization from invalidating sys.exc_info() #7173Benjamin Peterson2010-03-071-0/+2
|
* Merged revisions 78732 via svnmerge fromFlorent Xicluna2010-03-061-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78732 | florent.xicluna | 2010-03-06 18:24:36 +0100 (sam, 06 mar 2010) | 2 lines Do not print the header lines when running a single test. ........
* #6509: fix re.sub to work properly when the pattern, the string, and the ↵Ezio Melotti2010-03-061-0/+3
| | | | replacement were all bytes. Patch by Antoine Pitrou.
* Merged new pysqlite version 2.6.0 from trunk.Gerhard Häring2010-03-051-0/+3
|
* Merged revisions 78646 via svnmerge fromVictor Stinner2010-03-041-0/+3
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78646 | victor.stinner | 2010-03-04 13:09:33 +0100 (jeu., 04 mars 2010) | 5 lines Issue #1054943: Fix unicodedata.normalize('NFC', text) for the Public Review Issue #29. PR #29 was released in february 2004! ........
* Merged revisions 78641 via svnmerge fromVictor Stinner2010-03-041-0/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78641 | victor.stinner | 2010-03-04 01:10:12 +0100 (jeu., 04 mars 2010) | 3 lines Issue #7494: fix a crash in _lsprof (cProfile) after clearing the profiler, reset also the pointer to the current pointer context. ........
* Merged revisions 78638 via svnmerge fromVictor Stinner2010-03-031-0/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78638 | victor.stinner | 2010-03-04 00:20:25 +0100 (jeu., 04 mars 2010) | 3 lines Issue #7544: Preallocate thread memory before creating the thread to avoid a fatal error in low memory condition. ........
* Add the argparse module and Steven as its maintainer.Ezio Melotti2010-03-031-0/+1
|
* Merged revisions 78623 via svnmerge fromLars Gustäbel2010-03-031-0/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78623 | lars.gustaebel | 2010-03-03 12:55:48 +0100 (Wed, 03 Mar 2010) | 3 lines Issue #7232: Add support for the context manager protocol to the TarFile class. ........
* Merged revisions 78603 via svnmerge fromVictor Stinner2010-03-031-0/+3
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78603 | victor.stinner | 2010-03-03 00:20:02 +0100 (mer., 03 mars 2010) | 5 lines Issue #7820: The parser tokenizer restores all bytes in the right if the BOM check fails. Fix an assertion in pydebug mode. ........
* Merged revisions 78585,78594,78606 via svnmerge fromFlorent Xicluna2010-03-031-0/+3
| | | | | | | | | | | | | | | | | | 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 78576 via svnmerge fromSteven Bethard2010-03-021-0/+2
| | | | | | | | | | | | 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/+3
| | | | | 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-0/+4
| | | | | | | | | | | | | | | | 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/+3
| | | | | | | | | | | 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-011-0/+2
| | | | | | | | | | 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 78523 via svnmerge fromGregory P. Smith2010-03-011-0/+3
| | | | | | | | | | | 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-281-0/+3
| | | | | | | | | | | 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(). ........
* only accept AttributeError as indicating no __prepare__ attribute on a ↵Benjamin Peterson2010-02-271-0/+2
| | | | metaclass, allowing lookup errors to propogate
* For 3.x, the "backslashreplace" error handling is plugged on the "write" method.Florent Xicluna2010-02-271-0/+2
| | | | | | | | | | | 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. ........
* Merged revisions 78482 via svnmerge fromFlorent Xicluna2010-02-271-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78482 | florent.xicluna | 2010-02-27 12:19:18 +0100 (sam, 27 fév 2010) | 2 lines Add entry for issue #691291. ........
* Add an os.get_exec_path() function to return the list of directoriesGregory P. Smith2010-02-271-0/+3
| | | | | that launching a subprocess will search for the executable. Refactors some code in os._execvpe().
* Merged revisions 77967,77969,78033,78055,78081,78085,78108 via svnmerge fromVinay Sajip2010-02-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 78327,78399,78454 via svnmerge fromMartin v. Löwis2010-02-251-0/+9
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78327 | andrew.kuchling | 2010-02-22 18:21:54 +0100 (Mo, 22 Feb 2010) | 1 line Note granting of commit privileges to Larry Hastings ........ r78399 | brett.cannon | 2010-02-24 02:38:04 +0100 (Mi, 24 Feb 2010) | 1 line Record that Dino Viehland got commit privs. ........ r78454 | martin.v.loewis | 2010-02-25 21:42:40 +0100 (Do, 25 Feb 2010) | 2 lines Add Florent Xicluna. ........
* Issue #5939: Add additional runtime checking to ensure a valid capsuleLarry Hastings2010-02-241-0/+3
| | | | in Modules/_ctypes/callproc.c. Reviewed by Benjamin P. My first commit!
* Merged revisions 78424 via svnmerge fromEzio Melotti2010-02-241-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78424 | ezio.melotti | 2010-02-24 18:49:56 +0200 (Wed, 24 Feb 2010) | 1 line typos ........
* Merged revisions 78418 via svnmerge fromEric Smith2010-02-241-0/+4
| | | | | | | | | | 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 78351 via svnmerge fromR. David Murray2010-02-242-1/+4
| | | | | | | | | | | | | 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-231-0/+2
| | | | | | | | | | | | 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/+3
| | | | | | | | | | | | 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 78367 via svnmerge fromTarek Ziadé2010-02-231-0/+2
| | | | | | | | | | 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 78349 via svnmerge fromEric Smith2010-02-231-0/+4
| | | | | | | | | | 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-0/+3
| | | | file
* Merged revisions 78329 via svnmerge fromEric Smith2010-02-221-0/+3
| | | | | | | | | | 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. ........
* Merged revisions 78318 via svnmerge fromAndrew M. Kuchling2010-02-221-0/+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 ........
* #7310: fix the repr() of os.environEzio Melotti2010-02-221-0/+2
|
* Issue #5988: Delete deprecated functions PyOS_ascii_formatd, ↵Eric Smith2010-02-221-0/+5
| | | | PyOS_ascii_strtod, and PyOS_ascii_atof.
* The last bug reported for 'time' made me realize I hate dealing with it, so IBrett Cannon2010-02-211-1/+1
| | | | am taking myself off as its official maintainer.
* Merged revisions 78274 via svnmerge fromR. David Murray2010-02-211-0/+3
| | | | | | | | | | | | | | | | | 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. ........
* Add a NEWS entry for r78242.Brett Cannon2010-02-191-0/+3
|
* Merged revisions 78213 via svnmerge fromMartin v. Löwis2010-02-181-0/+3
| | | | | | | | | | | | 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. ........
* Merged revisions 78217-78218 via svnmerge fromMark Dickinson2010-02-182-0/+7
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ 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 78136 via svnmerge fromEzio Melotti2010-02-181-0/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78136 | ezio.melotti | 2010-02-10 23:40:33 +0200 (Wed, 10 Feb 2010) | 1 line #7712: add a temp_cwd context manager to test_support and use it in regrtest to run all the tests in a temporary directory, saving the original CWD in test_support.SAVEDCWD. Thanks to Florent Xicluna who helped with the patch. ........
* Merged revisions 78202 via svnmerge fromMartin v. Löwis2010-02-151-1/+1
| | | | | | | | | | 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 78194 via svnmerge fromMartin v. Löwis2010-02-151-0/+2
| | | | | | | | | | 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. ........
* Issue #7924: Fix an intermittent 'XXX undetected error' crash inMark Dickinson2010-02-131-0/+4
| | | | | test_capi, due to test_capsule failing to clear an exception. Many thanks to Florent Xicluna for the diagnosis and fix.
* Merged revisions 78137 via svnmerge fromR. David Murray2010-02-111-0/+3
| | | | | | | | | | | | | | | | 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. ........
* Merged revisions 78130 via svnmerge fromMichael Foord2010-02-101-0/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78130 | michael.foord | 2010-02-10 14:25:12 +0000 (Wed, 10 Feb 2010) | 1 line Issue 7893 and Issue 7588 ........