Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | merge 3.4 (#23875) | Benjamin Peterson | 2015-04-06 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | remove extra arguments in arg parsing format codes (closes #23875) | Benjamin Peterson | 2015-04-06 | 1 | -2/+2 | |
| | | ||||||
* | | fix building without threads (closes #23877) | Benjamin Peterson | 2015-04-06 | 1 | -0/+4 | |
| | | ||||||
* | | Merge doc change from 3.4 | Tim Golden | 2015-04-06 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Added missing right bracket (reported by Daryl Klakouski) | Tim Golden | 2015-04-06 | 1 | -1/+1 | |
| | | ||||||
* | | #3566: Clean up handling of remote server disconnects. | R David Murray | 2015-04-05 | 4 | -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 Peterson | 2015-04-05 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | fix extended command syntax (closes #23872) | Benjamin Peterson | 2015-04-05 | 1 | -1/+1 | |
| | | ||||||
* | | Updated pprint examples in according to issue #19105. | Serhiy Storchaka | 2015-04-05 | 1 | -18/+17 | |
| | | ||||||
* | | Issue #23501: #include "clinic/posixmodule.c.h" was in the section skipped ↵ | Serhiy Storchaka | 2015-04-04 | 1 | -2/+2 | |
| | | | | | | | | on Windows. | |||||
* | | fix refleak in deque_concat | Benjamin Peterson | 2015-04-04 | 1 | -2/+8 | |
| | | ||||||
* | | Issue #23466: Fixed expected error message in test_format. | Serhiy Storchaka | 2015-04-04 | 1 | -1/+1 | |
| | | ||||||
* | | Fixed the array module broken in issue #23492. | Serhiy Storchaka | 2015-04-04 | 1 | -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 Storchaka | 2015-04-04 | 1 | -0/+4 | |
| | | ||||||
* | | Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and always | Serhiy Storchaka | 2015-04-04 | 6 | -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 always | Serhiy Storchaka | 2015-04-04 | 6 | -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 Storchaka | 2015-04-04 | 10 | -120/+107 | |
| | | ||||||
* | | Open files in binary mode to avoid newlines transformation. | Serhiy Storchaka | 2015-04-04 | 1 | -4/+4 | |
|\ \ | |/ | ||||||
| * | Open files in binary mode to avoid newlines transformation. | Serhiy Storchaka | 2015-04-04 | 1 | -4/+4 | |
| | | ||||||
* | | Issue #10590: xml.sax.parseString() now supports string argument. | Serhiy Storchaka | 2015-04-04 | 4 | -4/+19 | |
| | | ||||||
* | | Issue #23338: Fixed formatting ctypes error messages on Cygwin. | Serhiy Storchaka | 2015-04-04 | 3 | -2/+6 | |
|\ \ | |/ | | | | | Patch by Makoto Kato. | |||||
| * | Issue #23338: Fixed formatting ctypes error messages on Cygwin. | Serhiy Storchaka | 2015-04-04 | 3 | -2/+6 | |
| | | | | | | | | Patch by Makoto Kato. | |||||
* | | Issue #23825: Fixed test_idle under -OO. | Serhiy Storchaka | 2015-04-04 | 1 | -7/+12 | |
|\ \ | |/ | ||||||
| * | Issue #23825: Fixed test_idle under -OO. | Serhiy Storchaka | 2015-04-04 | 1 | -7/+12 | |
| | | ||||||
* | | Moved Misc/NEWS entries not included in 3.5.0 alpha 3 to correct section. | Serhiy Storchaka | 2015-04-04 | 1 | -18/+20 | |
| | | ||||||
* | | Issue #23492: Argument Clinic now generates argument parsing code with | Serhiy Storchaka | 2015-04-03 | 17 | -302/+320 | |
| | | | | | | | | PyArg_Parse instead of PyArg_ParseTuple if possible. | |||||
* | | Issue #23501: Argumen Clinic now generates code into separate files by default. | Serhiy Storchaka | 2015-04-03 | 54 | -8731/+9262 | |
| | | ||||||
* | | Issue #23500: Argument Clinic is now smarter about generating the "#ifndef" | Larry Hastings | 2015-04-03 | 5 | -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 Storchaka | 2015-04-03 | 5 | -3/+112 | |
| | | ||||||
* | | Issue #23466: Raised OverflowError if %c argument is out of range. | Serhiy Storchaka | 2015-04-03 | 2 | -9/+14 | |
| | | ||||||
* | | Removed trailing whitespaces in miscalenous files. | Serhiy Storchaka | 2015-04-03 | 6 | -23/+23 | |
| | | ||||||
* | | Escaped backslashes in docstrings. | Serhiy Storchaka | 2015-04-03 | 7 | -13/+13 | |
|\ \ | |/ | ||||||
| * | Escaped backslashes in docstrings. | Serhiy Storchaka | 2015-04-03 | 7 | -13/+13 | |
| | | ||||||
* | | Merge 3.4 (asyncio doc) | Victor Stinner | 2015-04-03 | 1 | -0/+5 | |
|\ \ | |/ | ||||||
| * | Issue #23219: Update asyncio.wait_for() documentation | Victor Stinner | 2015-04-03 | 1 | -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 Storchaka | 2015-04-03 | 1 | -2/+3 | |
| | | | | | | | | | | | | statement" in Parser/pgen.c. | |||||
* | | Issue #22351. MockSslTests tests in test_nntplib now are reported if skipped. | Serhiy Storchaka | 2015-04-03 | 1 | -9/+10 | |
|\ \ | |/ | ||||||
| * | Issue #22351. MockSslTests tests in test_nntplib now are reported if skipped. | Serhiy Storchaka | 2015-04-03 | 1 | -9/+10 | |
| | | ||||||
* | | Issue #23853: Cleanup _ssl.c | Victor Stinner | 2015-04-02 | 1 | -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 handling | Victor Stinner | 2015-04-03 | 1 | -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() function | Victor Stinner | 2015-04-03 | 6 | -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 Stinner | 2015-04-03 | 1 | -9/+10 | |
|\ \ | |/ | ||||||
| * | Issue #22351: Fix test_nntplib if the ssl module is missing | Victor Stinner | 2015-04-03 | 1 | -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 Storchaka | 2015-04-02 | 1 | -1/+123 | |
|\ \ | |/ | ||||||
| * | Issue #10590: Added tests for xml.sax.parse() and xml.sax.parseString(). | Serhiy Storchaka | 2015-04-02 | 1 | -1/+123 | |
| | | ||||||
* | | Issue #2175: SAX parsers now support a character stream of InputSource object. | Serhiy Storchaka | 2015-04-02 | 7 | -12/+64 | |
| | | ||||||
* | | Issue #2175: Added tests for xml.sax.saxutils.prepare_input_source(). | Serhiy Storchaka | 2015-04-02 | 4 | -10/+82 | |
|\ \ | |/ | | | | | Made test XML files non-ASCII. | |||||
| * | Issue #2175: Added tests for xml.sax.saxutils.prepare_input_source(). | Serhiy Storchaka | 2015-04-02 | 4 | -10/+82 | |
| | | | | | | | | Made test XML files non-ASCII. | |||||
* | | Issue #16840: Fixed test_tcl for Tcl < 8.5. | Serhiy Storchaka | 2015-04-02 | 1 | -4/+4 | |
|\ \ | |/ | ||||||
| * | Issue #16840: Fixed test_tcl for Tcl < 8.5. | Serhiy Storchaka | 2015-04-02 | 1 | -4/+4 | |
| | |