An error occurred fetching the project authors.
- 23 Jul, 2014 1 commit
-
-
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
-
- 17 Jul, 2014 1 commit
-
-
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.
-
- 22 Jun, 2014 1 commit
-
-
Victor Stinner authored
environment variable is set
-
- 17 Jun, 2014 1 commit
-
-
Victor Stinner authored
-
- 03 Jun, 2014 1 commit
-
-
Victor Stinner authored
Fix ResourceWarning: create_connection(), create_datagram_endpoint() and create_unix_server() methods of event loop now close the newly created socket on error.
-
- 16 Apr, 2014 1 commit
-
-
Benjamin Peterson authored
-
- 26 Feb, 2014 2 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
Use "from unittest import mock". It should simplify my work to merge new tests in Trollius, because Trollius uses "mock" backport for Python 2.
-
- 19 Feb, 2014 4 commits
-
-
Yury Selivanov authored
-
Yury Selivanov authored
Thanks to Vajrasky Kok for discovering some of them.
-
Victor Stinner authored
DeprecationWarning warnings. create_unix_server() closes the socket on any error, not only on OSError.
-
Victor Stinner authored
Mention if the error was caused by a read or a write, and be more specific on the object (ex: "pipe transport" instead of "transport").
-
- 18 Feb, 2014 2 commits
-
-
Yury Selivanov authored
-
Yury Selivanov authored
-
- 19 Feb, 2014 4 commits
-
-
Yury Selivanov authored
-
Yury Selivanov authored
Thanks to Vajrasky Kok for discovering some of them.
-
Victor Stinner authored
DeprecationWarning warnings. create_unix_server() closes the socket on any error, not only on OSError.
-
Victor Stinner authored
Mention if the error was caused by a read or a write, and be more specific on the object (ex: "pipe transport" instead of "transport").
-
- 18 Feb, 2014 2 commits
-
-
Yury Selivanov authored
-
Yury Selivanov authored
-
- 25 Jan, 2014 1 commit
-
-
Victor Stinner authored
Major changes: - StreamReader.readexactly() now raises an IncompleteReadError if the end of stream is reached before we received enough bytes, instead of returning less bytes than requested. - Unit tests use the main asyncio module instead of submodules like events - _UnixWritePipeTransport now also supports character devices, as _UnixReadPipeTransport. Patch written by Jonathan Slenders. - Export more symbols: BaseEventLoop, BaseProactorEventLoop, BaseSelectorEventLoop, Queue and Queue sublasses, Empty, Full
-
- 25 Nov, 2013 1 commit
-
-
Guido van Rossum authored
-
- 15 Nov, 2013 1 commit
-
-
Guido van Rossum authored
-
- 14 Nov, 2013 1 commit
-
-
Serhiy Storchaka authored
-
- 13 Nov, 2013 1 commit
-
-
Guido van Rossum authored
-
- 07 Nov, 2013 1 commit
-
-
Guido van Rossum authored
asyncio: Add close() back to Unix selector event loop, to remove all signal handlers. Should fix buildbot issues.
-
- 04 Nov, 2013 1 commit
-
-
Guido van Rossum authored
-
- 22 Oct, 2013 1 commit
-
-
Guido van Rossum authored
-
- 21 Oct, 2013 1 commit
-
-
Guido van Rossum authored
This should have no effect, it's a "shouldn't happe" case. Also tidied up some comments.
-
- 20 Oct, 2013 1 commit
-
-
Antoine Pitrou authored
-
- 18 Oct, 2013 1 commit
-
-
Guido van Rossum authored
Rename Transport.pause/resume to pause_reading/pause_writing. Also relax timeout in test_call_later().
-
- 17 Oct, 2013 3 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-