summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* #15304: merge with 3.2.Ezio Melotti2012-09-212-1/+10
|\
| * #15304: fix wrong warning message in test.support.temp_cwd().Ezio Melotti2012-09-211-1/+1
| |
* | merge 3.2Benjamin Peterson2012-09-211-0/+5
|\ \ | |/
| * remove gdb noise about linux-vdsoBenjamin Peterson2012-09-211-0/+5
| |
* | merged 3.2Alexander Belopolsky2012-09-201-0/+2
|\ \ | |/
| * Issue #15973: Fixed segmentation fault on timezone comparison to other types.Alexander Belopolsky2012-09-201-0/+2
| |
* | #15970: merge with 3.2.Ezio Melotti2012-09-191-0/+12
|\ \ | |/
| * #15970: xml.etree.ElementTree now serializes correctly the empty HTML ↵Ezio Melotti2012-09-191-0/+20
| | | | | | | | 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 #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-141-0/+11
|\ \ | |/ | | | | | | | | ValueError when the file-like object is closed. Patch by Alessandro Moura.
| * Issue #15842: the SocketIO.{readable,writable,seekable} methods now raise ↵Antoine Pitrou2012-09-141-0/+11
| | | | | | | | | | | | ValueError when the file-like object is closed. Patch by Alessandro Moura.
* | Issue #15599: FreeBSD on KVM cannot handle a very low switch interval.Stefan Krah2012-09-121-1/+3
| |
* | Merge 3.2 fix updates and tests for issue #15906.Barry Warsaw2012-09-121-4/+27
|\ \ | |/
| * A follow up for issue #15906: change the test for calling the type conversionBarry Warsaw2012-09-121-4/+27
| | | | | | | | | | | | | | | | 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-121-0/+10
|\ \ | |/ | | | | when action='append', type='str' and default=[].
| * - Issue #15906: Fix a regression in argparse caused by the preceding change,Barry Warsaw2012-09-121-0/+10
| | | | | | | | when action='append', type='str' and default=[].
* | MERGE: Closes #15793: Stack corruption in ssl.RAND_egd()Jesus Cea2012-09-111-6/+2
|\ \ | |/
| * 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
| * #15676: mmap: add empty file check prior to offset check <- Previous patch ↵Jesus Cea2012-09-101-5/+5
| | | | | | | | was incomplete
* | Issue #15882: Change _decimal to accept any coefficient tuple whenStefan Krah2012-09-101-7/+10
| | | | | | | | | | | | constructing infinities. This is done for backwards compatibility with decimal.py: Infinity coefficients are undefined in _decimal (in accordance with the specification).
* | Merge #14649: clarify DocTestSuite error when there are no docstrings.R David Murray2012-09-104-5/+68
|\ \ | |/ | | | | | | | | | | Also adds tests to verify the documented behavior (which is probably a bug, as indicated in the added comments). Patch by Chris Jerdonek.
| * #14649: clarify DocTestSuite error when there are no docstrings.R David Murray2012-09-104-5/+68
| | | | | | | | | | | | | | 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.
* | Added test for 85cb90f79cbf and see how the code handles all flags at onceChristian Heimes2012-09-101-0/+5
| |
* | Closes #15676: mmap: add empty file check prior to offset checkJesus Cea2012-09-091-0/+9
|\ \ | |/
| * Closes #15676: mmap: add empty file check prior to offset checkJesus Cea2012-09-091-0/+9
| |
* | Merge #15510: clarify textwrap's handling of whitespace, and add confirming ↵R David Murray2012-09-081-8/+56
|\ \ | |/ | | | | | | | | tests. Patch by Chris Jerdonek.
| * #15510: clarify textwrap's handling of whitespace, and add confirming tests.R David Murray2012-09-081-8/+56
| | | | | | | | Patch by Chris Jerdonek.
* | merge #15847: allow args to be a tuple in parse_argsR David Murray2012-09-081-0/+18
|\ \ | |/ | | | | | | | | | | | | 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.
| * #15847: allow args to be a tuple in parse_argsR David Murray2012-09-081-0/+18
| | | | | | | | | | | | | | | | 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. Note that the trashcan functions are part of the stable ABI, therefore they have to be kept around for binary compatibility of extensions.
| * 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-051-4/+3
|\ \ | |/ | | | | | | and StringIO objects now raise ValueError when the object has been closed. Patch by Alessandro Moura.
| * Issue #15841: The readable(), writable() and seekable() methods of BytesIOAntoine Pitrou2012-09-051-4/+3
| | | | | | | | | | and StringIO objects now raise ValueError when the object has been closed. Patch by Alessandro Moura.
* | #15557,#15447,#15509: webbrowser test suite added.R David Murray2012-09-031-0/+192
| | | | | | | | | | Initial patch by Anton Barkovsky, refined a bit by me to further subdivide the test methods. Provides tests for the previous two bug fix commits.
* | get rid of ast_error_finish by passing the compiling struct to ast_errorBenjamin Peterson2012-09-021-1/+3
| |
* | merge 3.2 (#15846)Benjamin Peterson2012-09-021-0/+6
|\ \ | |/
| * prevert ast errors from being normalized before ast_error_finish is called ↵Benjamin Peterson2012-09-021-0/+6
| | | | | | | | (closes #15846)
* | Make super() internal errors RuntimeError instead of SystemError (closes #15839)Benjamin Peterson2012-09-021-0/+15
| |
* | #15802: Fix test logic in TestMaildir.test_create_tmpPetri Lehtinen2012-09-011-5/+5
|\ \ | |/
| * #15802: Fix test logic in TestMaildir.test_create_tmpPetri Lehtinen2012-09-011-5/+5
| |
* | Merge #12776,#11839: call argparse type function only once.R David Murray2012-09-011-0/+48
|\ \ | |/ | | | | | | | | | | | | | | 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.
| * #12776,#11839: call argparse type function only once.R David Murray2012-09-011-0/+48
| | | | | | | | | | | | | | | | | | 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 #15828: Don't try to close a file if imp.find_module() doesn'tBrett Cannon2012-08-311-1/+3
| | | | | | | | return one.
* | Issue #15828: Restore support for C extension modules in imp.load_module()Nick Coghlan2012-08-312-19/+29
| |
* | Issue #15785: Modify window.get_wch() API of the curses module: return aVictor Stinner2012-08-281-7/+5
| | | | | | | | | | | | character for most keys, and an integer for special keys, instead of always returning an integer. So it is now possible to distinguish special keys like keypad keys.
* | merge headsBenjamin Peterson2012-08-281-2/+2
|\ \
| * | Issue #15784: Modify OSError.__str__() to better distinguish betweenRichard Oudkerk2012-08-281-2/+2
| | | | | | | | | | | | errno error numbers and Windows error numbers.