- 22 Jul, 2014 5 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
now display special message when and only when there are failures.
-
Serhiy Storchaka authored
now display special message when and only when there are failures.
-
Senthil Kumaran authored
Fix localhost checking in FileHandler. Raised in #21970.
-
Senthil Kumaran authored
-
- 21 Jul, 2014 14 commits
-
-
Antoine Pitrou authored
Thanks to William Orr.
-
Antoine Pitrou authored
Thanks to William Orr.
-
Victor Stinner authored
Sort also imports in support/__init__.py
-
Victor Stinner authored
Sort also imports in support/__init__.py
-
Victor Stinner authored
* Issue #19811, #22022: test_pathlib uses support.rmtree() instead of shutil.rmtree() to remove the temporary directory. * Issue #19629: Fix support.rmtree(), use os.lstat() to check if the file is a directory, not os.path.isdir()
-
Victor Stinner authored
shutil.rmtree() to remove the temporary directory.
-
Victor Stinner authored
directory, not os.path.isdir()
-
Victor Stinner authored
-
Victor Stinner authored
ValueError on fstat() failure.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
- 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
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 20 Jul, 2014 2 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 19 Jul, 2014 4 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Mark Dickinson authored
-
Mark Dickinson authored
-
- 18 Jul, 2014 4 commits
-
-
Zachary Ware authored
-
Zachary Ware authored
-
Victor Stinner authored
symbols For example, on Windows, it was not possible to get ProactorEventLoop or DefaultEventLoopPolicy using "from asyncio import *".
-
Victor Stinner authored
For example, on Windows, it was not possible to get ProactorEventLoop or DefaultEventLoopPolicy using "from asyncio import *".
-
- 17 Jul, 2014 11 commits
-
-
Victor Stinner authored
Add a basic synchronization mechanism to wait until the child process is ready before sending it a signal.
-
Victor Stinner authored
Add a basic synchronization mechanism to wait until the child process is ready before sending it a signal.
-
Victor Stinner authored
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.
-
Victor Stinner authored
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.
-
Victor Stinner authored
ConnectionResetError
-
Victor Stinner authored
ConnectionResetError
-
Victor Stinner authored
ConnectionResetError too
-
Victor Stinner authored
ConnectionResetError too
-
Victor Stinner authored
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.
-
Victor Stinner authored
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.
-
Berker Peksag authored
-