Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | Issue #21526: Skip test_booleans on Tcl < 8.5. | Serhiy Storchaka | 2015-04-02 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Issue #21526: Skip test_booleans on Tcl < 8.5. | Serhiy Storchaka | 2015-04-02 | 1 | -0/+1 |
| | | |||||
* | | Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 and | Serhiy Storchaka | 2015-04-02 | 3 | -23/+233 |
|\ \ | |/ | | | | | arbitrary precision integers added in Tcl 8.5. | ||||
| * | Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 and | Serhiy Storchaka | 2015-04-02 | 3 | -23/+248 |
| | | | | | | | | arbitrary precision integers added in Tcl 8.5. | ||||
* | | (Merge 3.4) Issue #23834: Fix socket.sendto(), use the C Py_ssize_t type to | Victor Stinner | 2015-04-02 | 1 | -0/+3 |
|\ \ | |/ | | | | | | | | | store the result of sendto() instead of the C int type. (The bug was already fixed in the default branch, but differently.) | ||||
| * | Issue #23834: Fix socket.sendto(), use the C Py_ssize_t type to store the | Victor Stinner | 2015-04-02 | 2 | -1/+5 |
| | | | | | | | | result of sendto() instead of the C int type. | ||||
* | | Merge 3.4 (_posixsubprocess) | Victor Stinner | 2015-04-02 | 1 | -6/+6 |
|\ \ | |/ | |||||
| * | Issue #23851: close() must not be retried when it fails with EINTR | Victor Stinner | 2015-04-02 | 1 | -6/+6 |
| | | | | | | | | See the PEP 475 for the rationale. | ||||
* | | Issue #23618: Ooops, remove abort() added for debug purpose | Victor Stinner | 2015-04-02 | 1 | -1/+0 |
| | | |||||
* | | Issue #23618: Fix sock_connect_impl(), set the socket error code | Victor Stinner | 2015-04-02 | 1 | -1/+7 |
| | | | | | | | | | | sock_call_ex() gets the socket error code when the socket function fails. sock_connect_impl() didn't set the error correctly. | ||||
* | | Merge 3.4 (test_exceptions) | Victor Stinner | 2015-04-02 | 1 | -5/+8 |
|\ \ | |/ | |||||
| * | Issue #22977: Fix test_exceptions | Victor Stinner | 2015-04-02 | 1 | -5/+8 |
| | | |||||
* | | Issue #23648: Complete the list of modified functions for the PEP 475 | Victor Stinner | 2015-04-02 | 1 | -1/+31 |
| | | |||||
* | | Issue #23618: socket.socket.connect() now waits until the connection completes | Victor Stinner | 2015-04-02 | 4 | -124/+198 |
| | | | | | | | | | | | | | | | | instead of raising InterruptedError if the connection is interrupted by signals, signal handlers don't raise an exception and the socket is blocking or has a timeout. socket.socket.connect() still raise InterruptedError for non-blocking sockets. | ||||
* | | Issue #23618: Document EINTR changes in socket documentation | Victor Stinner | 2015-04-02 | 4 | -5/+56 |
| | | |||||
* | | Issue #23618: Don't declare recvmsg/sendmsg helper functions on Windows | Victor Stinner | 2015-04-02 | 1 | -7/+6 |
| | | |||||
* | | Issue #21526: Fixed the test_booleans test for wantobjects = 0. | Serhiy Storchaka | 2015-04-02 | 1 | -2/+6 |
|\ \ | |/ | |||||
| * | Issue #21526: Fixed the test_booleans test for wantobjects = 0. | Serhiy Storchaka | 2015-04-02 | 1 | -2/+6 |
| | | |||||
* | | Issue #21526: Fixed support of new boolean type in Tcl 8.5. | Serhiy Storchaka | 2015-04-02 | 3 | -6/+36 |
|\ \ | |/ | |||||
| * | Issue #21526: Tkinter now supports new boolean type in Tcl 8.5. | Serhiy Storchaka | 2015-04-02 | 3 | -15/+51 |
| | | |||||
* | | Issue #22977: Fixed formatting Windows error messages on Wine. | Serhiy Storchaka | 2015-04-02 | 3 | -3/+14 |
|\ \ | |/ | | | | | Patch by Martin Panter. | ||||
| * | Issue #22977: Fixed formatting Windows error messages on Wine. | Serhiy Storchaka | 2015-04-02 | 3 | -3/+14 |
| | | | | | | | | Patch by Martin Panter. | ||||
* | | merge 3.4 (#23844) | Benjamin Peterson | 2015-04-02 | 3 | -10/+8 |
|\ \ | |/ | |||||
| * | replace 512 bit dh key with a 2014 bit one (closes #23844) | Benjamin Peterson | 2015-04-02 | 3 | -10/+8 |
| | | | | | | | | Patch by Cédric Krier. | ||||
* | | Issue #23834: Fix sock_call(), set deadline_initialized to recompute the timeout | Victor Stinner | 2015-04-02 | 1 | -0/+1 |
| | | |||||
* | | Issue #23834: Modify socket.sendall() to reuse sock_call() with | Victor Stinner | 2015-04-01 | 1 | -29/+21 |
| | | | | | | | | sock_send_impl() | ||||
* | | Issue #23834: Add sock_call() helper function | Victor Stinner | 2015-04-01 | 1 | -256/+323 |
| | | | | | | | | | | | | | | | | | | | | The BEGIN_SELECT_LOOP and END_SELECT_LOOP macros of socketmodule.c don't handle EINTR. Functions using these macros use an inner loop to handle EINTR, but they don't recompute the timeout. This changes replaces the two macros with a new sock_call() function which takes a function as a parameter. sock_call() recomputes the timeout, handle false positive and handle EINTR. | ||||
* | | Issue #23836: Fix the faulthandler module to handle reentrant calls | Victor Stinner | 2015-04-01 | 2 | -40/+48 |
| | | | | | | | | | | | | | | | | | | | | to its signal handlers. Use also _Py_write_noraise() instead of write() to retry write() if it is interrupted by a signal (fail with EINTR). faulthandler.dump_traceback() also calls PyErr_CheckSignals() to call the Python signal handler if a signal was received. |