summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
|\ \ | |/
| * Open files in binary mode to avoid newlines transformation.Serhiy Storchaka2015-04-041-4/+4
| |
* | Issue #10590: xml.sax.parseString() now supports string argument.Serhiy Storchaka2015-04-044-4/+19
| |
* | Issue #23338: Fixed formatting ctypes error messages on Cygwin.Serhiy Storchaka2015-04-043-2/+6
|\ \ | |/ | | | | Patch by Makoto Kato.
| * Issue #23338: Fixed formatting ctypes error messages on Cygwin.Serhiy Storchaka2015-04-043-2/+6
| | | | | | | | Patch by Makoto Kato.
* | Issue #23825: Fixed test_idle under -OO.Serhiy Storchaka2015-04-041-7/+12
|\ \ | |/
| * Issue #23825: Fixed test_idle under -OO.Serhiy Storchaka2015-04-041-7/+12
| |
* | Moved Misc/NEWS entries not included in 3.5.0 alpha 3 to correct section.Serhiy Storchaka2015-04-041-18/+20
| |
* | Issue #23492: Argument Clinic now generates argument parsing code withSerhiy Storchaka2015-04-0317-302/+320
| | | | | | | | PyArg_Parse instead of PyArg_ParseTuple if possible.
* | Issue #23501: Argumen Clinic now generates code into separate files by default.Serhiy Storchaka2015-04-0354-8731/+9262
| |
* | Issue #23500: Argument Clinic is now smarter about generating the "#ifndef"Larry Hastings2015-04-035-92/+111
| | | | | | | | | | | | (empty) definition of the methoddef macro: it's only generated once, even if Argument Clinic processes the same symbol multiple times, and it's emitted at the end of all processing rather than immediately after the first use.
* | Issue #15582: inspect.getdoc() now follows inheritance chains.Serhiy Storchaka2015-04-035-3/+112
| |
* | Issue #23466: Raised OverflowError if %c argument is out of range.Serhiy Storchaka2015-04-032-9/+14
| |
* | Removed trailing whitespaces in miscalenous files.Serhiy Storchaka2015-04-036-23/+23
| |
* | Escaped backslashes in docstrings.Serhiy Storchaka2015-04-037-13/+13
|\ \ | |/
| * Escaped backslashes in docstrings.Serhiy Storchaka2015-04-037-13/+13
| |
* | Merge 3.4 (asyncio doc)Victor Stinner2015-04-031-0/+5
|\ \ | |/
| * Issue #23219: Update asyncio.wait_for() documentationVictor Stinner2015-04-031-0/+5
| | | | | | | | the wait is cancelled, the future *fut* is now also cancelled.
* | Got rid of warnings "suggest braces around empty body in an ‘else’ ↵Serhiy Storchaka2015-04-031-2/+3
| | | | | | | | | | | | statement" in Parser/pgen.c.
* | Issue #22351. MockSslTests tests in test_nntplib now are reported if skipped.Serhiy Storchaka2015-04-031-9/+10
|\ \ | |/
| * Issue #22351. MockSslTests tests in test_nntplib now are reported if skipped.Serhiy Storchaka2015-04-031-9/+10
| |
* | Issue #23853: Cleanup _ssl.cVictor Stinner2015-04-021-45/+50
| | | | | | | | | | | | * Rename check_socket_and_wait_for_timeout() to PySSL_select() * PySSL_select() is now clearly splitted betwen poll() and select() * Add empty lines for readability
* | Issue #23834: Simplify timeout handlingVictor Stinner2015-04-031-27/+13
| | | | | | | | | | | | | | | | | | | | | | * Use the new _PyTime_FromSeconds() function to set the timeout to -1 second for socket.settimeout(None). It avoids a special case in internal_select() because of a rounding issue: -1 nanosecond is rounded to 0 millisecond which means non-blocking, instead of blocking. * Check if the interval the negative in sock_call_ex() instead of doing the check in internal_select(). sock_call_ex() remembers if the socket has a timeout or not, which avoids a race condition if the timeout is modified in a different thread.
* | Issue #22117: Add a new _PyTime_FromSeconds() functionVictor Stinner2015-04-036-5/+45
| | | | | | | | | | Fix also _Py_InitializeEx_Private(): initialize time before initializing import, import_init() uses the _PyTime API (for thread locks).
* | Merge 3.4 (test_nntplib)Victor Stinner2015-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 #10590: Added tests for xml.sax.parse() and xml.sax.parseString().Serhiy Storchaka2015-04-021-1/+123
| |
* | Issue #2175: SAX parsers now support a character stream of InputSource object.Serhiy Storchaka2015-04-027-12/+64
| |
* | Issue #2175: Added tests for xml.sax.saxutils.prepare_input_source().Serhiy Storchaka2015-04-024-10/+82
|\ \ | |/ | | | | Made test XML files non-ASCII.
| * 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 #16840: Fixed test_tcl for Tcl < 8.5.Serhiy Storchaka2015-04-021-4/+4
| |