- 28 Ock, 2018 1 kayıt (commit)
-
-
Yury Selivanov yazdı
-
- 19 Ara, 2017 1 kayıt (commit)
-
-
Julien Duponchelle yazdı
-
- 18 Ara, 2017 1 kayıt (commit)
-
-
Yury Selivanov yazdı
-
- 15 Ara, 2017 1 kayıt (commit)
-
-
Yury Selivanov yazdı
-
- 13 Ara, 2017 1 kayıt (commit)
-
-
Andrew Svetlov yazdı
-
- 11 Ara, 2017 1 kayıt (commit)
-
-
Yury Selivanov yazdı
-
- 28 Kas, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
Since Python 3.5, socket.socketpair() is also available on Windows, and so can be used directly, rather than using asyncio.windows_utils.socketpair().
-
- 19 Eki, 2017 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
* bpo-31819: Add AbstractEventLoop.sock_recv_into() * Add NEWS * Add doc
-
- 01 Eyl, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
* Explicitly call shutdown(wait=True) on executors to wait until all threads complete to prevent side effects between tests. * Fix test_loop_self_reading_exception(): don't mock loop.close(). Previously, the original close() method was called rather than the mock, because how set_event_loop() registered loop.close().
-
- 04 Kas, 2016 1 kayıt (commit)
-
-
Yury Selivanov yazdı
when called from coroutines or callbacks.
-
- 17 Ara, 2015 1 kayıt (commit)
-
-
Yury Selivanov yazdı
getaddrinfo takes an exclusive lock on some platforms, causing clients to queue up waiting for the lock if many names are being resolved concurrently. Users may want to handle name resolution in their own code, for the sake of caching, using an alternate resolver, or to measure DNS duration separately from connection duration. Skip getaddrinfo if the "host" passed into create_connection is already resolved. See https://github.com/python/asyncio/pull/302 for details. Patch by A. Jesse Jiryu Davis.
-
- 16 Kas, 2015 1 kayıt (commit)
-
-
Yury Selivanov yazdı
See https://github.com/python/asyncio/pull/291 for details.
-
- 29 Ock, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
is not explicitly closed. Close also explicitly transports in test_sslproto.
-
- 21 Ock, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
* Handle correctly CancelledError: just exit * On error, log the exception and exit Don't try to close the event loop, it is probably running and so it cannot be closed.
-
- 15 Ock, 2015 2 kayıt (commit)
-
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
- 26 Ara, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
asyncio.BaseEventLoop now use the identifier of the current thread to ensure that they are called from the thread running the event loop. Before, the get_event_loop() method was used to check the thread, and no exception was raised when the thread had no event loop. Now the methods always raise an exception in debug mode when called from the wrong thread. It should help to notice misusage of the API.
-
- 11 Ara, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
socket transport
-
- 17 Tem, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
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.
-
- 12 Tem, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
* Tulip issue #183: log socket events in debug mode - Log most important socket events: socket connected, new client, connection reset or closed by peer (EOF), etc. - Log time elapsed in DNS resolution (getaddrinfo) - Log pause/resume reading - Log time of SSL handshake - Log SSL handshake errors - Add a __repr__() method to many classes * Fix ProactorEventLoop() in debug mode. ProactorEventLoop._make_self_pipe() doesn't call call_soon() directly because it checks for the current loop which fails, because the method is called to build the event loop. * Cleanup _ProactorReadPipeTransport constructor. Not need to set again _read_fut attribute to None, it is already done in the base class.
-
- 17 Haz, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 26 Şub, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
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 Şub, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
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 Şub, 2014 1 kayıt (commit)
-
-
Yury Selivanov yazdı
-
- 11 Şub, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
call_at() and run_in_executor() now raise a TypeError if the callback is a coroutine function.
-
- 19 Şub, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
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 Şub, 2014 1 kayıt (commit)
-
-
Yury Selivanov yazdı
-
- 11 Şub, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
call_at() and run_in_executor() now raise a TypeError if the callback is a coroutine function.
-
- 09 Şub, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 31 Ock, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 25 Ock, 2014 2 kayıt (commit)
-
-
Victor Stinner yazdı
BaseProactorEventLoop Import them from submodules if you really need them.
-
Victor Stinner yazdı
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
-
- 04 Ara, 2013 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 20 Eki, 2013 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
- 18 Eki, 2013 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Rename Transport.pause/resume to pause_reading/pause_writing. Also relax timeout in test_call_later().
-
- 17 Eki, 2013 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-