summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Closes #16112: platform.architecture does not correctly escape argument to ↵Jesus Cea2012-10-041-5/+7
| | | | /usr/bin/file
* Issue #15533: Skip test_cwd_with_relative_*() tests on Windows pending ↵Chris Jerdonek2012-09-301-0/+2
| | | | resolution of issue.
* Issue #15533: Clarify docs and add tests for subprocess.Popen()'s cwd argument.Chris Jerdonek2012-09-301-29/+94
|
* Speed up test_httpservers by avoiding a one-second cleanup wait after each ↵Antoine Pitrou2012-09-291-0/+1
| | | | test case.
* Fixes issue #15756: subprocess.poll() now properly handles errno.ECHILDGregory P. Smith2012-09-292-2/+18
| | | | | to return a returncode of 0 when the child has already exited or cannot be waited on.
* Closes issue #12376 : Pass on parameters in unittest.TextTestResult.__init__ ↵Michael Foord2012-09-282-1/+14
| | | | super call
* #15222: Insert blank line after each message in mbox mailboxesPetri Lehtinen2012-09-252-6/+61
|
* #15222: test_mailbox: End message template in a newlinePetri Lehtinen2012-09-251-15/+15
|
* switch assertion to an explicit ValueErrorBenjamin Peterson2012-09-252-3/+3
|
* fix test_compileall when run with -O[O]Benjamin Peterson2012-09-251-4/+12
|
* use modern conditional syntaxBenjamin Peterson2012-09-251-1/+1
|
* Issue #16013: Fix CSV Reader parsing issue with ending quote characters. ↵Senthil Kumaran2012-09-251-0/+9
| | | | Patch by Serhiy Storchaka.
* Issue #16012: Fix a regression in pyexpat. The parser's UseForeignDTD()Christian Heimes2012-09-241-0/+10
| | | | method doesn't require an argument again.
* Issue #15379: Fix passing of non-BMP characters as integers for the charmap ↵Antoine Pitrou2012-09-232-1/+106
| | | | | | decoder (already working as unicode strings). Patch by Serhiy Storchaka.
* #15421: fix an OverflowError in Calendar.itermonthdates() after ↵Ezio Melotti2012-09-212-1/+11
| | | | datetime.MAXYEAR. Patch by Cédric Krier.
* #15304: fix wrong warning message in test.support.temp_cwd().Ezio Melotti2012-09-211-1/+1
|
* #15980: properly escape newlines in docstrings. Patch by Serhiy Storchaka.Ezio Melotti2012-09-211-2/+2
|
* remove gdb noise about linux-vdsoBenjamin Peterson2012-09-211-0/+5
|
* Issue #15973: Fixed segmentation fault on timezone comparison to other types.Alexander Belopolsky2012-09-202-0/+4
|
* #15970: xml.etree.ElementTree now serializes correctly the empty HTML ↵Ezio Melotti2012-09-192-1/+21
| | | | elements "meta" and "param".
* Issue #15526: try to fix test_startfile's inability to clean up after itself ↵Antoine Pitrou2012-09-151-8/+7
| | | | | | in time. Patch by Jeremy Kloth.
* Issue #15842: the SocketIO.{readable,writable,seekable} methods now raise ↵Antoine Pitrou2012-09-142-2/+24
| | | | | | ValueError when the file-like object is closed. Patch by Alessandro Moura.
* Update merge from 2.7: s/basetring/strBarry Warsaw2012-09-121-1/+1
|
* A follow up for issue #15906: change the test for calling the type conversionBarry Warsaw2012-09-122-5/+28
| | | | | | | | on the action's default, reverting it back to previous behavior. Conversion is only done on string defaults. Add a test for this and another test that ensures such type conversions are only called once.
* - Issue #15906: Fix a regression in argparse caused by the preceding change,Barry Warsaw2012-09-122-0/+11
| | | | when action='append', type='str' and default=[].
* Closes #15793: Stack corruption in ssl.RAND_egd()Jesus Cea2012-09-111-6/+2
|
* #15676: mmap: add empty file check prior to offset check <- Previous patch ↵Jesus Cea2012-09-101-5/+5
| | | | was incomplete
* #14649: clarify DocTestSuite error when there are no docstrings.R David Murray2012-09-105-6/+74
| | | | | | | Also adds tests to verify the documented behavior (which is probably a bug, as indicated in the added comments). Patch by Chris Jerdonek.
* backport from the trunk, to fix test_tools with srcdir != builddirdoko@ubuntu.com2012-09-101-2/+2
| | | | | | | | | | | | changeset: 77827:c23b442b5d5e user: Antoine Pitrou <solipsis@pitrou.net> date: Thu Jun 28 01:20:26 2012 +0200 summary: Avoid using scrdir, it's broken. changeset: 77826:f0e58e778215 user: Neil Schemenauer <nas@arctrix.com> date: Wed Jun 27 15:58:37 2012 -0600 summary: Fix bug in test_tools that prevented building is separate directory.
* Closes #15676: mmap: add empty file check prior to offset checkJesus Cea2012-09-091-0/+9
|
* Issue #15881: Fixed 3.2 backport.Alexander Belopolsky2012-09-091-0/+2
|
* Fixed whitespaceAlexander Belopolsky2012-09-091-1/+1
|
* Issue #15881: Fixed atexit hook in multiprocessing.Alexander Belopolsky2012-09-091-16/+38
|
* Issue #15822: Fix installation of lib2to3 grammar pickles to ensureNed Deily2012-09-091-0/+17
| | | | | they are created in the install locations and with the proper timestamp. (Solution suggested by MvL)
* #15510: clarify textwrap's handling of whitespace, and add confirming tests.R David Murray2012-09-081-8/+56
| | | | Patch by Chris Jerdonek.
* #15847: allow args to be a tuple in parse_argsR David Murray2012-09-082-1/+22
| | | | | | | | This fixes a regression introduced by the fix for issue #13922. Although args is not documented as being allowed to be a tuple, previously this worked and so naturally there are programs in the field that depend on it. Patch by Zbyszek Jędrzejewski-Szmek.
* Issue #13992: The trashcan mechanism is now thread-safe. This eliminatesAntoine Pitrou2012-09-051-0/+69
| | | | | | | | | | | sporadic crashes in multi-thread programs when several long deallocator chains ran concurrently and involved subclasses of built-in container types. Because of this change, a couple extension modules compiled for 3.2.4 (those which use the trashcan mechanism, despite it being undocumented) will not be loadable by 3.2.3 and earlier. However, extension modules compiled for 3.2.3 and earlier will be loadable by 3.2.4.
* Issue #15841: The readable(), writable() and seekable() methods of BytesIOAntoine Pitrou2012-09-052-4/+11
| | | | | and StringIO objects now raise ValueError when the object has been closed. Patch by Alessandro Moura.
* #15509: If %action substitution produces a null string, drop it.R David Murray2012-09-031-2/+9
| | | | | | | | Patch by Anton Barkovsky, comment addition by me. This showed up as a bug in 3.3 because the definition for Chrome produced such an empty string. This fix is tested in 3.3+; backporting the new test suite is more trouble than it is worth.
* prevert ast errors from being normalized before ast_error_finish is called ↵Benjamin Peterson2012-09-021-0/+6
| | | | (closes #15846)
* #15802: Fix test logic in TestMaildir.test_create_tmpPetri Lehtinen2012-09-011-5/+5
|
* #12776,#11839: call argparse type function only once.R David Murray2012-09-012-7/+62
| | | | | | | | | Before, the type function was called twice in the case where the default was specified and the argument was given as well. This was especially problematic for the FileType type, as a default file would always be opened, even if a file argument was specified on the command line. Patch by Arnaud Fontaine, with additional test by Mike Meyer.
* Issue #15800: fix the closing of input / output files when gzip is used as a ↵Antoine Pitrou2012-08-291-2/+2
| | | | script.
* use the stricter PyMapping_Check (closes #15801)Benjamin Peterson2012-08-281-0/+3
|
* Fix wrong way of adding Error information in shutil.copytree.Georg Brandl2012-08-251-1/+1
|
* Remove overeager test (don't depend on the sign of a nan; cf. issue #14521)Mark Dickinson2012-08-241-4/+0
|
* Remove incorrect lines (meant for cdecimal) from recently added Decimal tests.Mark Dickinson2012-08-241-2/+0
|
* Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs.Mark Dickinson2012-08-242-1/+23
|
* Closes #9374: add back now-unused module attributes; removing them is a ↵Georg Brandl2012-08-241-0/+10
| | | | backward compatibility issue, since they have a public-seeming name.
* #15249: Mangle From lines correctly when body contains invalid bytes.R David Murray2012-08-242-1/+17
| | | | Fix by Colin Su. Test by me, based on a test written by Petri Lehtinen.