summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge from 3.4Tim Golden2015-04-081-1/+1
|\ \ \ | |/ /
| * | Fix typo in telnet docs (reported by Keith Briggs)Tim Golden2015-04-081-1/+1
| | |
* | | merge 3.4Benjamin Peterson2015-04-081-7/+7
|\ \ \ | |/ /
| * | actually ssl3 is just completely brokenBenjamin Peterson2015-04-081-7/+7
| | |
* | | Issue #23400: Raise same exception on both Python 2 and 3 if sem_open is not ↵Berker Peksag2015-04-083-9/+21
|\ \ \ | |/ / | | | | | | | | | | | | available. Patch by Davin Potts.
| * | Issue #23400: Raise same exception on both Python 2 and 3 if sem_open is not ↵Berker Peksag2015-04-083-9/+21
| | | | | | | | | | | | | | | | | | 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-073-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-073-1/+23
| | | | | | | | | | | | | | | 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-072-1/+8
|\ \ \ | |/ / | | | | | | socket if the FTP connection failed to fix a ResourceWarning.
| * | Issue #23881: urllib.request.ftpwrapper constructor now closes the socket ifVictor Stinner2015-04-072-1/+8
| | | | | | | | | | | | 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 #23853: Methods of SSL socket don't reset the socket timeout anymore eachVictor Stinner2015-04-062-17/+83
| | | | | | | | | | | | | | | | | | | | | | | | time bytes are received or sent. The socket timeout is now the maximum total duration of the method. This change fixes a denial of service if the application is regulary interrupted by a signal and the signal handler does not raise an exception.
* | | Issue #22117: Fix sock_call_ex() for non-blocking socketVictor Stinner2015-04-061-1/+1
| | | | | | | | | | | | | | | Call internal_select() with a timeout of 0 second, not a timeout of -1 second (blocking)!
* | | Issue #23853: socket.socket.sendall() does no more reset the socket timeoutVictor Stinner2015-04-063-16/+49
| | | | | | | | | | | | | | | each time data is sent successfuly. The socket timeout is now the maximum total duration to send all data.
* | | Issue #23834: Fix initial value of the socket timeoutVictor Stinner2015-04-061-2/+2
| | | | | | | | | | | | | | | | | | Use _PyTime_FromSeconds() to initialize the default socket timeout to -1 second, instead of -1 nanosecond which causes rounding issues in internal_select().
* | | Issue #22721: An order of multiline pprint output of set or dict containingSerhiy Storchaka2015-04-063-7/+46
| | | | | | | | | | | | | | | 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
| | |
* | | merge 3.4 (#23875)Benjamin Peterson2015-04-061-2/+2
|\ \ \ | |/ /
| * | remove extra arguments in arg parsing format codes (closes #23875)Benjamin Peterson2015-04-061-2/+2
| | |
* | | fix building without threads (closes #23877)Benjamin Peterson2015-04-061-0/+4
| | |
* | | Merge doc change from 3.4Tim Golden2015-04-061-1/+1
|\ \ \ | |/ /
| * | Added missing right bracket (reported by Daryl Klakouski)Tim Golden2015-04-061-1/+1
| | |
* | | #3566: Clean up handling of remote server disconnects.R David Murray2015-04-054-10/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.)
* | | merge 3.4 (#23872)Benjamin Peterson2015-04-051-1/+1
|\ \ \ | |/ /
| * | fix extended command syntax (closes #23872)Benjamin Peterson2015-04-051-1/+1
| | |
* | | Updated pprint examples in according to issue #19105.Serhiy Storchaka2015-04-051-18/+17
| | |
* | | Issue #23501: #include "clinic/posixmodule.c.h" was in the section skipped ↵Serhiy Storchaka2015-04-041-2/+2
| | | | | | | | | | | | on Windows.
* | | fix refleak in deque_concatBenjamin Peterson2015-04-041-2/+8
| | |
* | | Issue #23466: Fixed expected error message in test_format.Serhiy Storchaka2015-04-041-1/+1
| | |
* | | Fixed the array module broken in issue #23492.Serhiy Storchaka2015-04-041-15/+4
| | | | | | | | | | | | | | | array_array_frombytes() is used in other functions, but it's signature was changed. Closes issue #23866.
* | | Fixed test_enum for issue #15582.Serhiy Storchaka2015-04-041-0/+4
| | |
* | | Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and alwaysSerhiy Storchaka2015-04-046-17/+58
|\ \ \ | |/ / | | | | | | | | | returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
| * | Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and alwaysSerhiy Storchaka2015-04-046-17/+58
| | | | | | | | | | | | | | | returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
* | | Issue #22831: Use "with" to avoid possible fd leaks.Serhiy Storchaka2015-04-0410-120/+107
| | |
* | | Open files in binary mode to avoid newlines transformation.Serhiy Storchaka2015-04-041-4/+4
|\ \ \ | |/ /