summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Tentatively enable test_pep277 on all platforms.Florent Xicluna2010-03-021-0/+2
|
* Initial commit of the argparse library, based on argparse 1.1.Steven Bethard2010-03-021-0/+2
| | | | | 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.
* #7808: Fix reference leaks in _bsddb and related tests.Florent Xicluna2010-03-011-1/+3
|
* Fixes issue #7999: os.setreuid() and os.setregid() would refuse to acceptGregory P. Smith2010-03-011-0/+3
| | | | a -1 parameter on some platforms such as OS X.
* Adds c_ssize_t to ctypes. issue 6729.Gregory P. Smith2010-03-011-0/+2
|
* Issue #7242: On Solaris 9 and earlier calling os.fork() from within aGregory P. Smith2010-03-011-0/+4
| | | | | thread could raise an incorrect RuntimeError about not holding the import lock. The import lock is now reinitialized after fork.
* Issue #1068268: The subprocess module now handles EINTR in internalGregory P. Smith2010-03-011-0/+3
| | | | os.waitpid and os.read system calls where appropriate.
* Issue #7481: When a threading.Thread failed to start it would leave theGregory P. Smith2010-02-281-0/+3
| | | | instance stuck in initial state and present in threading.enumerate().
* Issue #1729305: Fix doctest to handle encode error with "backslashreplace". ↵Florent Xicluna2010-02-271-0/+2
| | | | It fixes #7667 too.
* Add entry for issue #691291.Florent Xicluna2010-02-271-0/+3
|
* Add Florent Xicluna.Martin v. Löwis2010-02-251-0/+3
|
* #7649: "u'%c' % char" now behaves like "u'%s' % char" and raises a ↵Ezio Melotti2010-02-251-2/+3
| | | | UnicodeDecodeError if 'char' is a byte string that can't be decoded using the default encoding.
* typosEzio Melotti2010-02-241-2/+2
|
* Issue #7309: Unchecked pointer access when converting UnicodeEncodeError, ↵Eric Smith2010-02-241-0/+4
| | | | UnicodeDecodeError, and UnicodeTranslateError to strings.
* Issue #7427: improve the representation of httplib.BadStatusLine exceptions.Dirkjan Ochtman2010-02-241-0/+2
|
* Issue 7975: in python 2.6 bsddb.dbshelve switched from DictMixin toR. David Murray2010-02-241-0/+2
| | | | | | | 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.
* Record that Dino Viehland got commit privs.Brett Cannon2010-02-241-0/+3
|
* Issue #7649: Fix u'%c' % char for character in range 0x80..0xFFVictor Stinner2010-02-231-1/+4
| | | | => raise an UnicodeDecodeError. Patch written by Ezio Melotti.
* #6544: fix refleak in kqueue, occurring in certain error conditions.Georg Brandl2010-02-231-0/+3
|
* Fix #1537721: add writeheader() method to csv.DictWriter.Dirkjan Ochtman2010-02-231-0/+2
| | | | Reviewed by skip.montanaro and thomas.wouters.
* ctypes CThunkObject was not registered correctly with the cycleThomas Heller2010-02-231-0/+3
| | | | | garbage collector, leading to possible leaks when using callback functions.
* fixed #5801: removed spurious empty lines in wsgirefTarek Ziadé2010-02-231-0/+2
|
* Issue 6292: for the moment at least, the test suite passes if runR. David Murray2010-02-232-0/+4
| | | | | | with -OO. Tests requiring docstrings are skipped. Patch by Brian Curtin, thanks to Matias Torchinsky for helping review and improve the patch.
* Issue #6902: Fix problem with built-in types format incorrectly with 0 padding.Eric Smith2010-02-231-0/+3
|
* #2560: remove an unnecessary 'for' loop from my_fgets() in Parser/myreadline.c.Andrew M. Kuchling2010-02-221-0/+3
| | | | | | | | | | | Noted by Joseph Armbruster; patch by Jessica McKellar. The original code was 'for (;;) {...}', where ... ended with a 'return -2' statement and did not contain a 'break' or 'continue' statement. Therefore, the body of the loop is always executed once. Once upon a time there was a 'continue' in the loop, but it was removed in rev36346, committed by mwh on Wed Jul 7 17:44:12 2004.
* * fix issue#7476Jack Diederich2010-02-221-0/+1
|
* Issue #7988: Fix default alignment to be right aligned for ↵Eric Smith2010-02-221-0/+3
| | | | complex.__format__. Now it matches other numeric types.
* Note granting of commit privileges to Larry HastingsAndrew M. Kuchling2010-02-221-0/+3
|
* Issue #5211: Fix complex type to avoid implicit calls toMark Dickinson2010-02-211-0/+3
| | | | complex.__coerce__. Thanks Meador Inge for the patch.
* Issue 7970: When email.Parser.Parser parses a MIME message of typeR. David Murray2010-02-211-0/+3
| | | | | | | | | | 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.
* #3426: os.path.abspath now returns unicode when its arg is unicode.Ezio Melotti2010-02-201-1/+3
|
* Issue #7633: Context method in the decimal module (with the exceptionMark Dickinson2010-02-182-0/+7
| | | | | | 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.
* Stop providing crtassem.h symbols when compiling withMartin v. Löwis2010-02-181-0/+5
| | | | | Visual Studio 2010, as msvcr100.dll is not a platform assembly anymore.
* Issue #7903: Define _BSD_SOURCE through OpenBSD 4.9.Martin v. Löwis2010-02-151-1/+1
|
* Issue #3920: Define _BSD_SOURCE on OpenBSD 4.4.Martin v. Löwis2010-02-151-0/+5
|
* Issue 5754: tweak shelve doc wording to make it clearer that even whenR. David Murray2010-02-111-0/+1
| | | | | | | 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.
* Issue 7835: Shelve's __del__ method calls its close method, and itsR. David Murray2010-02-101-0/+3
| | | | | | | | | 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.
* #7712: add a temp_cwd context manager to test_support and use it in regrtest ↵Ezio Melotti2010-02-101-0/+11
| | | | 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.
* Issue 7893 and Issue 7588Michael Foord2010-02-101-0/+5
|
* Issue #2746: Don't escape ampersands and angle brackets ("&", "<", ">")Antoine Pitrou2010-02-092-0/+6
| | | | | | in XML processing instructions and comments. These raw characters are allowed by the XML specification, and are necessary when outputting e.g. PHP code in a processing instruction. Patch by Neil Muller.
* Issue 6003: ZipFile.writestr "compression_type" argumentRonald Oussoren2010-02-071-0/+3
|
* Issue #7869: logging: improved format-time diagnostics and removed some ↵Vinay Sajip2010-02-071-0/+2
| | | | 1.5.2 support code.
* Issue #7868: logging: added loggerClass attribute to Manager.Vinay Sajip2010-02-071-0/+2
|
* post release updatesBenjamin Peterson2010-02-061-0/+12
|
* bump version to 2.7a3v2.7a3Benjamin Peterson2010-02-062-3/+3
|
* issue #7728: test_timeout was using a hardcoded port, which wasR. David Murray2010-02-061-0/+8
| | | | | causing buildbot failures. Changed to use test_support.bind_port. Patch by Florent Xicluna.
* Resolve bug 7847 by including documentation for -J, -U, and -X under "OptionsBarry Warsaw2010-02-051-2/+5
| | | | you shouldn't use".
* Issue #5677: Explicitly forbid write operations on read-only file objects,Antoine Pitrou2010-02-052-0/+6
| | | | | | 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.
* normalize exceptions passed to the __exit__ method #7853Benjamin Peterson2010-02-051-0/+3
| | | | | | | | | In Python 2.x, exceptions in finally blocks are not normalized. Since with statements are implemented using finally blocks, ceval.c had to be tweaked to distinguish between with finally blocks and normal ones. A test for the finalization of generators containing with statements was also added.