summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Issue #21526: Skip test_booleans on Tcl < 8.5.Serhiy Storchaka2015-04-021-0/+1
|\ \ | |/
| * Issue #21526: Skip test_booleans on Tcl < 8.5.Serhiy Storchaka2015-04-021-0/+1
| |
* | Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 andSerhiy Storchaka2015-04-023-23/+233
|\ \ | |/ | | | | arbitrary precision integers added in Tcl 8.5.
| * Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 andSerhiy Storchaka2015-04-023-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 toVictor Stinner2015-04-021-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 theVictor Stinner2015-04-022-1/+5
| | | | | | | | result of sendto() instead of the C int type.
* | Merge 3.4 (_posixsubprocess)Victor Stinner2015-04-021-6/+6
|\ \ | |/
| * Issue #23851: close() must not be retried when it fails with EINTRVictor Stinner2015-04-021-6/+6
| | | | | | | | See the PEP 475 for the rationale.
* | Issue #23618: Ooops, remove abort() added for debug purposeVictor Stinner2015-04-021-1/+0
| |
* | Issue #23618: Fix sock_connect_impl(), set the socket error codeVictor Stinner2015-04-021-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 Stinner2015-04-021-5/+8
|\ \ | |/
| * Issue #22977: Fix test_exceptionsVictor Stinner2015-04-021-5/+8
| |
* | Issue #23648: Complete the list of modified functions for the PEP 475Victor Stinner2015-04-021-1/+31
| |
* | Issue #23618: socket.socket.connect() now waits until the connection completesVictor Stinner2015-04-024-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 documentationVictor Stinner2015-04-024-5/+56
| |
* | Issue #23618: Don't declare recvmsg/sendmsg helper functions on WindowsVictor Stinner2015-04-021-7/+6
| |
* | Issue #21526: Fixed the test_booleans test for wantobjects = 0.Serhiy Storchaka2015-04-021-2/+6
|\ \ | |/
| * Issue #21526: Fixed the test_booleans test for wantobjects = 0.Serhiy Storchaka2015-04-021-2/+6
| |
* | Issue #21526: Fixed support of new boolean type in Tcl 8.5.Serhiy Storchaka2015-04-023-6/+36
|\ \ | |/
| * Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.Serhiy Storchaka2015-04-023-15/+51
| |
* | Issue #22977: Fixed formatting Windows error messages on Wine.Serhiy Storchaka2015-04-023-3/+14
|\ \ | |/ | | | | Patch by Martin Panter.
| * Issue #22977: Fixed formatting Windows error messages on Wine.Serhiy Storchaka2015-04-023-3/+14
| | | | | | | | Patch by Martin Panter.
* | merge 3.4 (#23844)Benjamin Peterson2015-04-023-10/+8
|\ \ | |/
| * replace 512 bit dh key with a 2014 bit one (closes #23844)Benjamin Peterson2015-04-023-10/+8
| | | | | | | | Patch by Cédric Krier.
* | Issue #23834: Fix sock_call(), set deadline_initialized to recompute the timeoutVictor Stinner2015-04-021-0/+1
| |
* | Issue #23834: Modify socket.sendall() to reuse sock_call() withVictor Stinner2015-04-011-29/+21
| | | | | | | | sock_send_impl()
* | Issue #23834: Add sock_call() helper functionVictor Stinner2015-04-011-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 callsVictor Stinner2015-04-012-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.