summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23811: Add missing newline to the PyCompileError error message.Berker Peksag2015-04-141-1/+1
| | | | Patch by Alex Shkop.
* #17898: reset k and v so that the loop doesn't use an old valueAndrew Kuchling2015-04-132-1/+29
|
* #23883: add names missing from __all__ (l*gettext, bind_textdomain_codeset)Andrew Kuchling2015-04-131-1/+3
|
* Issue #23310: Fix MagicMock's initializer to work with __methods__.Łukasz Langa2015-04-142-2/+18
| | | | Behavior equivalent to m.configure_mock(). Patch by Kasia Jachim.
* Issue #23943: Fix typos. Patch by Piotr Kasprzyk.Berker Peksag2015-04-149-10/+10
|
* remove useless word (closes #23929)Benjamin Peterson2015-04-141-1/+1
|
* Issue #22982: Improve BOM handling when seeking to multiple positions of a ↵Antoine Pitrou2015-04-132-11/+28
| | | | writable text file.
* MergeAntoine Pitrou2015-04-132-5/+5
|\
| * Issue #17202: Add .bat to .hgeol to force them to CRLF.Zachary Ware2015-04-132-5/+5
| | | | | | | | | | Using LF can a script to fail if it tries to use a label that is split across 512 byte blocks. Who knows why.
* | Issue #23309: Avoid a deadlock at shutdown if a daemon thread is abortedAntoine Pitrou2015-04-133-14/+67
|/ | | | | | while it is holding a lock to a buffered I/O object, and the main thread tries to use the same I/O object (typically stdout or stderr). A fatal error is emitted instead.
* Unittest for Issue 21511 by Christie Wilson bobcatfish@gmail.com.Guido van Rossum2015-04-111-0/+7
|
* Issue #23062: Add a test for suppressing --version with argparse.SUPPRESS.Berker Peksag2015-04-101-28/+26
| | | | TestHelpVersionOptional was redundant.
* Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-1026-198/+296
| | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
* Suppress a couple more DeprecationWarnings in the test suite.R David Murray2014-06-111-1/+2
|
* Use assertRaisesRegex instead of deprecated assertRaisesRegexp.Serhiy Storchaka2015-04-101-2/+2
|
* Issue #23400: Raise same exception on both Python 2 and 3 if sem_open is not ↵Berker Peksag2015-04-081-1/+2
| | | | | | available. Patch by Davin Potts.
* Skip nntplib tests when transient errors captured.Berker Peksag2015-04-081-0/+5
|
* Issue #23879, asyncio: SelectorEventLoop.sock_connect() must not call connect()Victor Stinner2015-04-071-8/+6
| | | | | | | | again if the first call to connect() raises an InterruptedError. When the C function connect() fails with EINTR, the connection runs in background. We have to wait until the socket becomes writable to be notified when the connection succeed or fails.
* remove smtpd dead code (closes #23873)Benjamin Peterson2015-04-071-9/+0
| | | | Patch by Hoolean.
* Update pip to 6.1.1Donald Stufft2015-04-072-1/+1
|
* Issue #23881: ftp://gatekeeper.research.compaq.com/ and ftp://ftp.debian.org/Victor Stinner2015-04-071-3/+1
| | | | are down, don't use anymore in test_urllib2net
* Issue #23881: urllib.request.ftpwrapper constructor now closes the socket ifVictor Stinner2015-04-071-1/+5
| | | | the FTP connection failed to fix a ResourceWarning.
* Upgrade pip to 6.1.0 and setuptools to 15.0Donald Stufft2015-04-073-2/+2
|
* Issue #22977: Remove unconditional import of ctypes.Serhiy Storchaka2015-04-061-1/+0
|
* fix extended command syntax (closes #23872)Benjamin Peterson2015-04-051-1/+1
|
* Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and alwaysSerhiy Storchaka2015-04-044-8/+40
| | | | | returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
* Open files in binary mode to avoid newlines transformation.Serhiy Storchaka2015-04-041-4/+4
|
* Issue #23825: Fixed test_idle under -OO.Serhiy Storchaka2015-04-041-7/+12
|
* Escaped backslashes in docstrings.Serhiy Storchaka2015-04-037-13/+13
|
* Issue #22351. MockSslTests tests in test_nntplib now are reported if skipped.Serhiy Storchaka2015-04-031-9/+10
|
* Issue #22351: Fix test_nntplib if the ssl module is missingVictor Stinner2015-04-031-9/+10
| | | | | @unittest.skipUnless(ssl, '...') doesn't work because the class body uses the nntplib.NNTP_SSL attribute which doesn't exist.
* Issue #10590: Added tests for xml.sax.parse() and xml.sax.parseString().Serhiy Storchaka2015-04-021-1/+123
|
* Issue #2175: Added tests for xml.sax.saxutils.prepare_input_source().Serhiy Storchaka2015-04-024-10/+82
| | | | Made test XML files non-ASCII.
* Issue #16840: Fixed test_tcl for Tcl < 8.5.Serhiy Storchaka2015-04-021-4/+4
|
* Issue #21526: Skip test_booleans on Tcl < 8.5.Serhiy Storchaka2015-04-021-0/+1
|
* Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 andSerhiy Storchaka2015-04-021-7/+39
| | | | arbitrary precision integers added in Tcl 8.5.
* Issue #22977: Fix test_exceptionsVictor Stinner2015-04-021-5/+8
|
* Issue #21526: Fixed the test_booleans test for wantobjects = 0.Serhiy Storchaka2015-04-021-2/+6
|
* Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.Serhiy Storchaka2015-04-021-0/+15
|
* Issue #22977: Fixed formatting Windows error messages on Wine.Serhiy Storchaka2015-04-021-1/+9
| | | | Patch by Martin Panter.
* replace 512 bit dh key with a 2014 bit one (closes #23844)Benjamin Peterson2015-04-023-10/+8
| | | | Patch by Cédric Krier.
* Issue #23821: Fixed test_pdb failure under -O.Serhiy Storchaka2015-04-011-11/+15
|
* Issue #23838: linecache now clears the cache and returns an empty result onSerhiy Storchaka2015-04-012-4/+21
| | | | MemoryError.
* Issue #23799: Added test.support.start_threads() for running and cleaning upSerhiy Storchaka2015-04-018-80/+74
| | | | multiple threads.
* Issue #18473: Fixed pickle compatibility tests for optional modules.Serhiy Storchaka2015-03-312-10/+32
| | | | Added WindowsError to compatibility mappings.
* Issue #18473: Fixed 2to3 and 3to2 compatible pickle mappings.Serhiy Storchaka2015-03-314-18/+308
| | | | | | | | Fixed ambigious reverse mappings. Added many new mappings. Import mapping is no longer applied to modules already mapped with full name mapping. Added tests for compatible pickling and unpickling and for consistency of _compat_pickle mappings.
* #23792: also catch interrupt around pipe.write.R David Murray2015-03-301-1/+6
| | | | | | The previous patch only dealt with KeyboardInterrupt when all of the data had been consumed by the pager. This deals with the interrupt when some data is still pending.
* #23745: handle duplicate MIME parameter names in new parser.R David Murray2015-03-302-7/+136
| | | | | | | | | | This mimics get_param's error handling for the most part. It is slightly better in some regards as get_param can produce some really weird results for duplicate *0* parts. It departs from get_param slightly in that if we have a mix of non-extended and extended pieces for the same parameter name, the new parser assumes they were all supposed to be extended and concatenates all the values, whereas get_param always picks the non-extended parameter value. All of this error recovery is pretty much arbitrary decisions...
* Issue #22390: test.regrtest now emits a warning if temporary files orSerhiy Storchaka2015-03-291-15/+11
| | | | directories are left after running a test.
* Closes #23801 - Ignore entire preamble to multipart in cgi.FieldStorageDonald Stufft2015-03-292-2/+26
|