summaryrefslogtreecommitdiff
path: root/asyncio/base_events.py
Commit message (Collapse)AuthorAgeFilesLines
* Close transports on errorVictor Stinner2015-01-231-3/+21
| | | | | Fix create_datagram_endpoint(), connect_read_pipe() and connect_write_pipe(): close the transport if the task is cancelled or on error.
* BaseEventLoop._create_connection_transport() catchs any exception, not onlyVictor Stinner2015-01-221-1/+1
| | | | Exception
* Cleanup BaseEventLoop._create_connection_transport()Victor Stinner2015-01-161-1/+1
| | | | Remove the exc variable, it's not used.
* Fix BaseEventLoop._create_connection_transport()Victor Stinner2015-01-141-1/+6
| | | | | Close the transport if the creation of the transport (if the waiter) gets an exception.
* Truncate to 80 columnsVictor Stinner2015-01-091-2/+2
|
* _make_ssl_transport: make the waiter parameter optionalVictor Stinner2015-01-081-1/+1
|
* Python issue #23046: Expose the BaseEventLoop class in the asyncio namespaceVictor Stinner2015-01-061-1/+1
|
* Python issue #22926: In debug mode, call_soon(), call_at() and call_later()Victor Stinner2014-12-261-18/+20
| | | | | | | | | | methods of 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.
* Python issue #23074: get_event_loop() now raises an exception if the thread hasVictor Stinner2014-12-181-1/+1
| | | | no event loop even if assertions are disabled.
* Add run_aiotest.pyVictor Stinner2014-12-121-0/+1113