- 23 Jul, 2014 6 commits
-
-
Terry Jan Reedy authored
lines or narrowed for small screens. Issie #19132: Turtledemo buttons no longer disappear when window is shrun. Patch mostly by Lita Cho (21597) using idea from patch by Jan Kanis (18132).
-
Zachary Ware authored
Adds `load_package_tests` function to test.support, uses it in test_asyncio, test_email, test_json, test_tools, test_importlib and all test_importlib sub-packages to implement test discovery.
-
Victor Stinner authored
* Tulip issue 194: Don't use sys.getrefcount() in unit tests * signal.set_wakeup_fd() can now raise an OSError on Python 3.5
-
Serhiy Storchaka authored
specified.
-
Serhiy Storchaka authored
-
Andrew Svetlov authored
-
- 22 Jul, 2014 6 commits
-
-
Charles-François Natali authored
-
Victor Stinner authored
Replace also _make_drain_waiter() function with a classic _drain_helper() coroutine.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
now display special message when and only when there are failures.
-
Senthil Kumaran authored
-
- 21 Jul, 2014 6 commits
-
-
Antoine Pitrou authored
Thanks to William Orr.
-
Victor Stinner authored
Sort also imports in support/__init__.py
-
Victor Stinner authored
shutil.rmtree() to remove the temporary directory.
-
Victor Stinner authored
directory, not os.path.isdir()
-
Victor Stinner authored
-
Raymond Hettinger authored
-
- 20 Jul, 2014 1 commit
-
-
Benjamin Peterson authored
-
- 19 Jul, 2014 2 commits
-
-
Benjamin Peterson authored
-
Mark Dickinson authored
-
- 18 Jul, 2014 2 commits
-
-
Zachary Ware authored
-
Victor Stinner authored
For example, on Windows, it was not possible to get ProactorEventLoop or DefaultEventLoopPolicy using "from asyncio import *".
-
- 17 Jul, 2014 6 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
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 too
-
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
-
- 16 Jul, 2014 9 commits
-
-
Serhiy Storchaka authored
attribute. Based on patch by Martin Panter.
-
Zachary Ware authored
-
Zachary Ware authored
-
Zachary Ware authored
pydoc.gui was removed over 3 years ago (#10818), this script has been utterly bereft of worth since then.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
in gather().
-
Victor Stinner authored
The _SelectorSslTransport constructor already calls it.
-
Tal Einat authored
-
- 15 Jul, 2014 1 commit
-
-
Terry Jan Reedy authored
Fix regression that this test would have caught.
-
- 14 Jul, 2014 1 commit
-
-
Victor Stinner authored
in debug mode
-