cpython/Lib/asyncio
Guido van Rossum 7719d46431 Rename Future._blocking to _asyncio_future_blocking.
This is now an official "protected" API that can be used to write
classes that are duck-type-compatible with Future without subclassing
it.  (For that purpose I also changed isinstance(result, Future) to
check for this attribute instead.)

Hopefully Amber Brown can use this to make Twisted.Deferred compatible
with asyncio.Future.

Tests and docs are TBD. (Also there are more isinstance() checks to fix.)
2016-09-09 12:58:15 -07:00
..
__init__.py Issue #23046: Expose the BaseEventLoop class in the asyncio namespace 2015-01-06 01:03:58 +01:00
base_events.py Issue #28003: Implement PEP 525 -- Asynchronous Generators. 2016-09-08 22:01:51 -07:00
base_subprocess.py Merge 3.5 (issue #26741) 2016-05-20 13:06:55 +02:00
compat.py Issue #27243: Fix __aiter__ protocol 2016-06-09 15:08:31 -04:00
constants.py asyncio: Pause accepting whenever accept() returns certain errors. Fixes asyncio issue #78. 2013-11-01 14:12:50 -07:00
coroutines.py Issue #28003: Implement PEP 525 -- Asynchronous Generators. 2016-09-08 22:01:51 -07:00
events.py Issue #28003: Implement PEP 525 -- Asynchronous Generators. 2016-09-08 22:01:51 -07:00
futures.py Rename Future._blocking to _asyncio_future_blocking. 2016-09-09 12:54:54 -07:00
locks.py In asyncio.locks.Lock.acquire(): Avoid deadlock when a cancelled future is in self._waiters. 2016-08-23 09:39:03 -07:00
log.py
proactor_events.py Merge 3.5 (issue #27136, asyncio) 2016-06-08 12:33:59 -04:00
protocols.py asyncio doc: document Protocol state machine 2015-01-29 13:33:15 +01:00
queues.py Issue #27041: asyncio: Add loop.create_future method 2016-05-16 15:38:39 -04:00
selector_events.py Merge 3.5 (asyncio) 2016-06-28 11:00:39 -04:00
sslproto.py Merge 3.5 (asyncio) 2016-06-28 10:55:49 -04:00
streams.py Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
subprocess.py Issue #26848: Fix asyncio/subprocess.communicate() to handle empty input. 2016-05-13 15:35:28 -04:00
tasks.py Rename Future._blocking to _asyncio_future_blocking. 2016-09-09 12:54:54 -07:00
test_utils.py asyncio: Skip getaddrinfo if host is already resolved. 2015-12-16 19:31:17 -05:00
transports.py asyncio: Add Transport.is_closing() 2015-11-16 12:43:21 -05:00
unix_events.py Merge asyncio from 3.5 2016-08-31 09:47:08 -07:00
windows_events.py Issue #27041: asyncio: Add loop.create_future method 2016-05-16 15:38:39 -04:00
windows_utils.py Add a source parameter to warnings.warn() 2016-03-23 00:28:08 +01:00