Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #22018: Hum, set_wakeup_fd() still raises ValueError on Windows | Victor Stinner | 2014-07-21 | 1 | -1/+2 |
| | |||||
* | Issue #22018: signal.set_wakeup_fd() now raises an OSError instead of a | Victor Stinner | 2014-07-21 | 3 | -6/+17 |
| | | | | ValueError on fstat() failure. | ||||
* | (Merge 3.4) asyncio: Fix test_stdin_broken_pipe(), drain() is not a coroutine | Victor Stinner | 2014-07-21 | 1 | -2/+7 |
|\ | |||||
| * | asyncio: Fix test_stdin_broken_pipe(), drain() is not a coroutine | Victor Stinner | 2014-07-21 | 1 | -2/+7 |
| | | |||||
* | | Issue #22018: Add _testcapi.raise_signal() | Victor Stinner | 2014-07-21 | 4 | -53/+85 |
| | | | | | | | | | | | | | | | | - Use _testcapi.raise_signal() in test_signal - close also os.pipe() file descriptors in some test_signal tests where they were not closed properly - Remove faulthandler._sigill() and faulthandler._sigbus(): reuse _testcapi.raise_signal() in test_faulthandler | ||||
* | | merge | Raymond Hettinger | 2014-07-20 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #21868: Prevent turtle crash due to invalid undo buffer size. | Raymond Hettinger | 2014-07-20 | 2 | -1/+3 |
| | | |||||
* | | merge 3.4 | Benjamin Peterson | 2014-07-20 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | add # | Benjamin Peterson | 2014-07-20 | 1 | -1/+1 |
| | | |||||
* | | merge 3.4 (#17210) | Benjamin Peterson | 2014-07-19 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | args doesn't need to be a tuple (closes #17210) | Benjamin Peterson | 2014-07-19 | 1 | -1/+1 |
| | | |||||
* | | Issue #22006: Merge from 3.4. | Mark Dickinson | 2014-07-19 | 1 | -4/+0 |
|\ \ | |/ | |||||
| * | Issue #22006: Remove outdated _thread caveat. Thanks Dan O'Reilly for the ↵ | Mark Dickinson | 2014-07-19 | 1 | -4/+0 |
| | | | | | | | | report. | ||||
* | | Closes #22004: Merge with 3.4 | Zachary Ware | 2014-07-18 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #22004: Correct an argument name. | Zachary Ware | 2014-07-18 | 1 | -1/+1 |
| | | |||||
* | | (Merge 3.4) Fix asyncio.__all__: export also unix_events and windows_events | Victor Stinner | 2014-07-18 | 1 | -6/+7 |
|\ \ | |/ | | | | | | | | | | | symbols For example, on Windows, it was not possible to get ProactorEventLoop or DefaultEventLoopPolicy using "from asyncio import *". | ||||
| * | Fix asyncio.__all__: export also unix_events and windows_events symbols | Victor Stinner | 2014-07-18 | 1 | -6/+7 |
| | | | | | | | | | | For example, on Windows, it was not possible to get ProactorEventLoop or DefaultEventLoopPolicy using "from asyncio import *". | ||||
* | | (Merge 3.4) Issue #21247: Fix a race condition in test_send_signal() of asyncio | Victor Stinner | 2014-07-17 | 1 | -4/+15 |
|\ \ | |/ | | | | | | | Add a basic synchronization mechanism to wait until the child process is ready before sending it a signal. | ||||
| * | Issue #21247: Fix a race condition in test_send_signal() of asyncio | Victor Stinner | 2014-07-17 | 1 | -4/+15 |
| | | | | | | | | | | Add a basic synchronization mechanism to wait until the child process is ready before sending it a signal. | ||||
* | | (Merge 3.4) Python issue #21645, Tulip issue 192: Rewrite signal handling | Victor Stinner | 2014-07-17 | 5 | -7/+27 |
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Python 3.3, the C signal handler writes the signal number into the wakeup file descriptor and then schedules the Python call using Py_AddPendingCall(). asyncio uses the wakeup file descriptor to wake up the event loop, and relies on Py_AddPendingCall() to schedule the final callback with call_soon(). If the C signal handler is called in a thread different than the thread of the event loop, the loop is awaken but Py_AddPendingCall() was not called yet. In this case, the event loop has nothing to do and go to sleep again. Py_AddPendingCall() is called while the event loop is sleeping again and so the final callback is not scheduled immediatly. This patch changes how asyncio handles signals. Instead of relying on Py_AddPendingCall() and the wakeup file descriptor, asyncio now only relies on the wakeup file descriptor. asyncio reads signal numbers from the wakeup file descriptor to call its signal handler. | ||||
| * | Python issue #21645, Tulip issue 192: Rewrite signal handling | Victor Stinner | 2014-07-17 | 5 | -7/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Python 3.3, the C signal handler writes the signal number into the wakeup file descriptor and then schedules the Python call using Py_AddPendingCall(). asyncio uses the wakeup file descriptor to wake up the event loop, and relies on Py_AddPendingCall() to schedule the final callback with call_soon(). If the C signal handler is called in a thread different than the thread of the event loop, the loop is awaken but Py_AddPendingCall() was not called yet. In this case, the event loop has nothing to do and go to sleep again. Py_AddPendingCall() is called while the event loop is sleeping again and so the final callback is not scheduled immediatly. This patch changes how asyncio handles signals. Instead of relying on Py_AddPendingCall() and the wakeup file descriptor, asyncio now only relies on the wakeup file descriptor. asyncio reads signal numbers from the wakeup file descriptor to call its signal handler. | ||||
* | | (Merge 3.4) asyncio: Fix test_stdin_broken_pipe(), drain() can also raise | Victor Stinner | 2014-07-17 | 1 | -2/+2 |
|\ \ | |/ | | | | | ConnectionResetError | ||||
| * | asyncio: Fix test_stdin_broken_pipe(), drain() can also raise | Victor Stinner | 2014-07-17 | 1 | -2/+2 |
| | | | | | | | | ConnectionResetError | ||||
* | | (Merge 3.4) asyncio, tulip issue 190: Process.communicate() now ignores | Victor Stinner | 2014-07-17 | 2 | -9/+12 |
|\ \ | |/ | | | | | ConnectionResetError too | ||||
| * | asyncio, tulip issue 190: Process.communicate() now ignores | Victor Stinner | 2014-07-17 | 2 | -9/+12 |
| | | | | | | | | ConnectionResetError too | ||||
* | | (Merge 3.4) asyncio, tulip issue 190: Process.communicate() must ignore | Victor Stinner | 2014-07-17 | 3 | -8/+32 |
|\ \ | |/ | | | | | | | | | | | | | | | | | BrokenPipeError If you want to handle the BrokenPipeError, you can easily reimplement communicate(). Add also a unit test to ensure that stdin.write() + stdin.drain() raises BrokenPipeError. | ||||
| * | asyncio, tulip issue 190: Process.communicate() must ignore BrokenPipeError | Victor Stinner | 2014-07-17 | 3 | -8/+32 |
| | | | | | | | | | | | | | | | | If you want to handle the BrokenPipeError, you can easily reimplement communicate(). Add also a unit test to ensure that stdin.write() + stdin.drain() raises BrokenPipeError. | ||||
* | | Issue #21994: Merge with 3.4. | Berker Peksag | 2014-07-17 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #21994: Fix SyntaxError in the SSLContext.check_hostname documentation. | Berker Peksag | 2014-07-17 | 1 | -2/+2 |
| | | |||||
* | | Issue 21044: tarfile.open() now handles fileobj with an integer 'name' | Serhiy Storchaka | 2014-07-17 | 4 | -7/+36 |
|\ \ | |/ | | | | | attribute. Based on patch by Martin Panter. | ||||
| * | Issue 21044: tarfile.open() now handles fileobj with an integer 'name' | Serhiy Storchaka | 2014-07-16 | 4 | -7/+36 |
| | | | | | | | | attribute. Based on patch by Martin Panter. | ||||
* | | Merge with 3.4 | Zachary Ware | 2014-07-16 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix a minor typo in the turtle docs. Found by Brandon Passmore on docs@. | Zachary Ware | 2014-07-16 | 1 | -1/+1 |
| | | |||||
* | | Issue #21918: Convert test_tools.py to a sub-package of test. | Zachary Ware | 2014-07-16 | 10 | -195/+283 |
|\ \ | |/ | | | | | Merge with 3.4. | ||||
| * | Issue #21918: Convert test_tools.py to a sub-package of test. | Zachary Ware | 2014-07-16 | 10 | -195/+283 |
| | | |||||
* | | Merge removal of Tools/scripts/pydocgui.pyw | Zachary Ware | 2014-07-16 | 1 | -7/+0 |
|\ \ | |/ | |||||
| * | Remove Tools/scripts/pydocgui.pyw. | Zachary Ware | 2014-07-16 | 1 | -7/+0 |
| | | | | | | | | | | pydoc.gui was removed over 3 years ago (#10818), this script has been utterly bereft of worth since then. | ||||
* | | (Merge 3.4) asyncio: test_as_completed(): disable "slow callback" warning | Victor Stinner | 2014-07-16 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | asyncio: test_as_completed(): disable "slow callback" warning | Victor Stinner | 2014-07-16 | 1 | -0/+2 |
| | | |||||
* | | (Merge 3.4) Issue #21163: Fix "destroy pending task" warning in ↵ | Victor Stinner | 2014-07-16 | 2 | -6/+9 |
|\ \ | |/ | | | | | test_wait_errors() | ||||
| * | Issue #21163: Fix "destroy pending task" warning in test_wait_errors() | Victor Stinner | 2014-07-16 | 2 | -6/+9 |
| | | |||||
* | | (Merge 3.4) Issue #21163, asyncio: Ignore "destroy pending task" warnings for | Victor Stinner | 2014-07-16 | 1 | -11/+23 |
|\ \ | |/ | | | | | private tasks in gather(). | ||||
| * | Issue #21163, asyncio: Ignore "destroy pending task" warnings for private tasks | Victor Stinner | 2014-07-16 | 1 | -11/+23 |
| | | | | | | | | in gather(). | ||||
* | | (Merge 3.4) asyncio: test_selector_events: remove duplicate call to | Victor Stinner | 2014-07-16 | 1 | -3/+3 |
|\ \ | |/ | | | | | | | | | _on_handshake() method The _SelectorSslTransport constructor already calls it. | ||||
| * | asyncio: test_selector_events: remove duplicate call to _on_handshake() method | Victor Stinner | 2014-07-16 | 1 | -3/+3 |
| | | | | | | | | The _SelectorSslTransport constructor already calls it. | ||||
* | | Fixed recently added Misc/NEWS entry which was moved during merge | Tal Einat | 2014-07-16 | 1 | -2/+2 |
| | | |||||
* | | Issue #21765: Add support for non-ascii identifiers to HyperParser | Tal Einat | 2014-07-16 | 4 | -44/+213 |
|\ \ | |/ | |||||
| * | Issue #21765: Add support for non-ascii identifiers to HyperParser | Tal Einat | 2014-07-16 | 4 | -44/+213 |
| | | |||||
* | | Issue #21645, #21985: Remove debug code | Victor Stinner | 2014-07-16 | 1 | -33/+17 |
| | | |||||
* | | Fix getargspec() doctring (varkw -> keywords). | Guido van Rossum | 2014-07-15 | 1 | -4/+3 |
| | |