summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #1054943: Fix unicodedata.normalize('NFC', text) for the Public ReviewVictor Stinner2010-03-041-0/+5
| | | | | | Issue #29. PR #29 was released in february 2004!
* set svn:executable on all regen scriptsBenjamin Peterson2010-03-047-0/+0
|
* Issue #7232: Add support for the context manager protocolLars Gustäbel2010-03-032-0/+74
| | | | to the TarFile class.
* Fix wording.Florent Xicluna2010-03-021-2/+2
|
* plug ref leaksBenjamin Peterson2010-03-021-0/+4
|
* Issue #7820: The parser tokenizer restores all bytes in the right if the BOMVictor Stinner2010-03-021-0/+11
| | | | | | check fails. Fix an assertion in pydebug mode.
* remove cross-version compatibility codeBenjamin Peterson2010-03-022-50/+9
|
* remove code to avoid BaseException.message bugBenjamin Peterson2010-03-022-15/+0
|
* Test test_pep277 is only relevant for Unicode-friendly filesystems.Florent Xicluna2010-03-021-4/+6
|
* convert deprecated fail* methods to assert* variantsBenjamin Peterson2010-03-021-16/+16
|
* use test_main() in __main__ sectionBenjamin Peterson2010-03-021-1/+1
|
* prevent warning filter adjustment from altering other testsBenjamin Peterson2010-03-021-24/+23
|
* enable running of argparse tests and fix two that failed in the new environmentBenjamin Peterson2010-03-021-4/+11
|
* remove another coding cookieBenjamin Peterson2010-03-021-3/+1
|
* set svn:eol-styleBenjamin Peterson2010-03-022-6557/+6557
|
* remove coding cookie as mandated by PEP 8Benjamin Peterson2010-03-021-3/+1
|
* Tentatively enable test_pep277 on all platforms.Florent Xicluna2010-03-021-3/+7
|
* Refactor test_dict using assertRaises.Florent Xicluna2010-03-021-68/+47
|
* Initial commit of the argparse library, based on argparse 1.1.Steven Bethard2010-03-022-0/+6559
| | | | | 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/+4
| | | | | 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-012-0/+13
|
* Issue 3892 again. The bsddb3 replication test still fails randomly.R. David Murray2010-03-011-18/+20
| | | | | | | Since this module is unmaintained in the library and gone in py3k, this patch skips the remainder of the replication test if a second timeout occurs, as it randomly does. This should improve buildbot stability.
* Fix test to be skipped on windows.Gregory P. Smith2010-03-011-4/+2
|
* Fixes issue #7999: os.setreuid() and os.setregid() would refuse to acceptGregory P. Smith2010-03-011-0/+2
| | | | a -1 parameter on some platforms such as OS X.
* Adds c_ssize_t to ctypes. issue 6729.Gregory P. Smith2010-03-012-1/+11
|
* Cleanup the test added in r78517 based on Ezio Melotti's feedback.Gregory P. Smith2010-03-011-8/+4
|
* Fix the new test on windows (skip it, its posix only)Gregory P. Smith2010-03-011-0/+1
|
* Adds the hashlib.algorithms attribute. See issue7418.Gregory P. Smith2010-03-012-1/+8
|
* Issue #7242: On Solaris 9 and earlier calling os.fork() from within aGregory P. Smith2010-03-011-1/+41
| | | | | 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-012-4/+35
| | | | 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-282-1/+25
| | | | instance stuck in initial state and present in threading.enumerate().
* Fix an oversight in r78508: p.wait() should be compared to 0Florent Xicluna2010-02-271-4/+4
|
* Clean test_subprocess: use assertRaises, skipIf, skipUnless helpers and a ↵Florent Xicluna2010-02-271-318/+299
| | | | custom helper assertStderrEqual.
* #7793: Fix RuntimeError when running "regrtest -R" for multibyte codecs.Florent Xicluna2010-02-271-18/+3
|
* Issue #1729305: Fix doctest to handle encode error with "backslashreplace". ↵Florent Xicluna2010-02-272-3/+53
| | | | It fixes #7667 too.
* Add a test for normpath to test_macpath.Ezio Melotti2010-02-271-0/+6
|
* #691291: codecs.open() should not convert end of lines on reading and writing.Florent Xicluna2010-02-262-4/+24
|
* Fix for Issue7540 ; urllib2 will raise a TypeError when you try to add_data toSenthil Kumaran2010-02-242-0/+4
| | | | a existing req object already having data.
* Fix for Issue3819 - urllib2 sends Basic auth across redirectsSenthil Kumaran2010-02-242-2/+3
|
* Issue #7309: Unchecked pointer access when converting UnicodeEncodeError, ↵Eric Smith2010-02-241-0/+37
| | | | UnicodeDecodeError, and UnicodeTranslateError to strings.
* Issue #7427: improve the representation of httplib.BadStatusLine exceptions.Dirkjan Ochtman2010-02-242-0/+6
|
* Issue 7975: in python 2.6 bsddb.dbshelve switched from DictMixin toR. David Murray2010-02-241-15/+6
| | | | | | | 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 78407 via svnmerge fromBenjamin Peterson2010-02-241-15/+13
| | | | | | | | | | 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 ........
* The primary copy of lib2to3 is not trunk, so the lib2to3 changeR. David Murray2010-02-241-3/+0
| | | | should not have been included in the -OO patch, back it out.
* Issue #7649: Fix u'%c' % char for character in range 0x80..0xFFVictor Stinner2010-02-231-0/+13
| | | | => raise an UnicodeDecodeError. Patch written by Ezio Melotti.
* Fix #1537721: add writeheader() method to csv.DictWriter.Dirkjan Ochtman2010-02-232-0/+8
| | | | Reviewed by skip.montanaro and thomas.wouters.
* ctypes CThunkObject was not registered correctly with the cycleThomas Heller2010-02-231-0/+16
| | | | | garbage collector, leading to possible leaks when using callback functions.
* issue#6442 use in operator instead of has_keyJack Diederich2010-02-231-1/+1
|
* unittest.TestResult can now be used with the TextTestRunner. TextTestRunner ↵Michael Foord2010-02-233-7/+34
| | | | compatible with old TestResult objects.
* Fix spacing nit. Thanks Eric Smith for the public humiliation.Mark Dickinson2010-02-231-4/+4
|