summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/base_futures.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-34622: Extract asyncio exceptions into a separate module (GH-9141)Andrew Svetlov2018-09-111-6/+0
|
* bpo-33238: Add InvalidStateError to concurrent.futures. (GH-7056)jhaydaman2018-05-301-6/+2
| | | | | | | Future.set_result and Future.set_exception now raise InvalidStateError if the futures are not pending or running. This mirrors the behavior of asyncio.Future, and prevents AssertionErrors in asyncio.wrap_future when set_result is called multiple times.
* bpo-32436: Implement PEP 567 (#5027)Yury Selivanov2018-01-231-4/+4
|
* bpo-32311: Implement asyncio.create_task() shortcut (#4848)Andrew Svetlov2017-12-151-2/+2
| | | | | * Implement functionality * Add documentation
* bpo-32262: Fix codestyle; use f-strings formatting where necessary. (#4775)Yury Selivanov2017-12-101-5/+5
|
* Merge 3.5 (issue #28634)Yury Selivanov2016-11-071-1/+2
|
* Issue #28544: Implement asyncio.Task in C.Yury Selivanov2016-10-281-0/+70
This implementation provides additional 10-20% speed boost for asyncio programs. The patch also fixes _asynciomodule.c to use Arguments Clinic, and makes '_schedule_callbacks' an overridable method (as it was in 3.5).