summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #22982: Improve BOM handling when seeking to multiple positions of a ↵Antoine Pitrou2015-04-132-11/+28
|\ | | | | | | writable text file.
| * 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
| |\
* | \ MergeAntoine Pitrou2015-04-132-5/+5
|\ \ \
| * \ \ Closes #17202: Merge with 3.4Zachary Ware2015-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-13/+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.
| * | 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.
* | Actually run the builtins Argument Clinic testNick Coghlan2015-04-131-53/+58
| |
* | #23464: remove JoinableQueue that was deprecated in 3.4.4.R David Murray2015-04-121-6/+1
| | | | | | | | Patch by A. Jesse Jiryu Davis.
* | Close issue23900: add default __doc__ to new enumerations that do not ↵Ethan Furman2015-04-122-5/+9
| | | | | | | | specify one.
* | - fix file permission for Lib/test/test_script_helper.pydoko@ubuntu.com2015-04-121-0/+0
| |
* | Unittest for Issue 21511 by Christie Wilson bobcatfish@gmail.com (merge from ↵Guido van Rossum2015-04-111-0/+7
|\ \ | |/ | | | | 3.4).
| * Unittest for Issue 21511 by Christie Wilson bobcatfish@gmail.com.Guido van Rossum2015-04-111-0/+7
| |
* | Issue23826: fix doc test for -OO runsEthan Furman2015-04-111-4/+35
| |
* | Issue #23529: Limit the size of decompressed data when reading fromAntoine Pitrou2015-04-107-706/+468
| | | | | | | | | | | | | | | | GzipFile, BZ2File or LZMAFile. This defeats denial of service attacks using compressed bombs (i.e. compressed payloads which decompress to a huge size). Patch by Martin Panter and Nikolaus Rath.
* | Merge headsSerhiy Storchaka2015-04-101-28/+26
|\ \
| * \ Issue #23062: Add a test for suppressing --version with argparse.SUPPRESS.Berker Peksag2015-04-101-28/+26
| |\ \ | | |/ | | | | | | TestHelpVersionOptional was redundant.
| | * Issue #23062: Add a test for suppressing --version with argparse.SUPPRESS.Berker Peksag2015-04-101-28/+26
| | | | | | | | | | | | TestHelpVersionOptional was redundant.
* | | Issue #21859: Added Python implementation of io.FileIO.Serhiy Storchaka2015-04-103-66/+498
|/ /
* | Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-1026-210/+312
|\ \ | |/ | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
| * 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-1/+1
|\ \ | |/
| * 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.
| * 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.
* | Issue #23027: test_warnings now passes all tests when run it with -Werror.Berker Peksag2015-04-081-11/+14
| |
* | Skip nntplib tests when transient errors captured.Berker Peksag2015-04-081-0/+5
|\ \ | |/
| * Skip nntplib tests when transient errors captured.Berker Peksag2015-04-081-0/+5
| |
* | Issue #23883: Add missing entries to traceback.__all__.Berker Peksag2015-04-082-9/+19
| |
* | issue10838: Rename the subprocess.mswindows internal global to _mswindows.Gregory P. Smith2015-04-072-7/+7
| | | | | | | | It is internal only, not a documented API.
* | Addresses Issue #10838: The subprocess now module includesGregory P. Smith2015-04-072-1/+19
| | | | | | | | | | | | | | | | | | | | SubprocessError and TimeoutError in its list of exported names for the users wild enough to use "from subprocess import *". MAXFD, mswindows and list2cmdline should be dealt with (renamed or moved) in separate commits. Committed at 35,000ft. Thanks chromebook free gogo wifi passes!
* | Merge 3.4 (asyncio)Victor Stinner2015-04-071-8/+6
|\ \ | |/
| * 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.
* | Issue #23411: Added DefragResult, ParseResult, SplitResult, DefragResultBytes,Serhiy Storchaka2015-04-072-1/+19
| | | | | | | | | | ParseResultBytes, and SplitResultBytes to urllib.parse.__all__. Patch by Martin Panter.
* | merge 3.4 (#23873)Benjamin Peterson2015-04-071-9/+0
|\ \ | |/
| * 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
|\ \ | |/
| * Update pip to 6.1.1Donald Stufft2015-04-072-1/+1
| |
* | Merge 3.4 (test_urllib2net)Victor Stinner2015-04-071-3/+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
* | (Merge 3.4) Issue #23881: urllib.request.ftpwrapper constructor now closes theVictor Stinner2015-04-071-1/+5
|\ \ | |/ | | | | socket if the FTP connection failed to fix a ResourceWarning.
| * Issue #23881: urllib.request.ftpwrapper constructor now closes the socket ifVictor Stinner2015-04-071-1/+5
| | | | | | | | the FTP connection failed to fix a ResourceWarning.
* | Merged update of pip to 6.1.0 and setuptools to 15.0Donald Stufft2015-04-073-2/+2
|\ \ | |/
| * Upgrade pip to 6.1.0 and setuptools to 15.0Donald Stufft2015-04-073-2/+2
| |
* | Issue #22721: An order of multiline pprint output of set or dict containingSerhiy Storchaka2015-04-062-7/+42
| | | | | | | | | | orderable and non-orderable elements no longer depends on iteration order of set or dict.
* | Issue #22977: Remove unconditional import of ctypes.Serhiy Storchaka2015-04-061-1/+0
|\ \ | |/
| * Issue #22977: Remove unconditional import of ctypes.Serhiy Storchaka2015-04-061-1/+0
| |
* | #3566: Clean up handling of remote server disconnects.R David Murray2015-04-053-9/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset does two things: introduces a new RemoteDisconnected exception (that subclasses ConnectionResetError and BadStatusLine) so that a remote server disconnection can be detected by client code (and provides a better error message for debugging purposes), and ensures that the client socket is closed if a ConnectionError happens, so that the automatic re-connection code can work if the application handles the error and continues on. Tests are added that confirm that a connection is re-used or not re-used as appropriate to the various combinations of protocol version and headers. Patch by Martin Panter, reviewed by Demian Brecht. (Tweaked only slightly by me.)