diff options
author | Guido van Rossum <guido@python.org> | 2016-09-09 19:54:54 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2016-09-09 19:54:54 (GMT) |
commit | 1140a0342613c30feaedfe96b9e09ad7248de490 (patch) | |
tree | eeb925307793df12b7cb5e3c561a2a3aa152437f /Doc/conf.py | |
parent | c1db513e368eb485df49a4bd354984136f3a39bd (diff) | |
download | cpython-1140a0342613c30feaedfe96b9e09ad7248de490.zip cpython-1140a0342613c30feaedfe96b9e09ad7248de490.tar.gz cpython-1140a0342613c30feaedfe96b9e09ad7248de490.tar.bz2 |
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.
Diffstat (limited to 'Doc/conf.py')
0 files changed, 0 insertions, 0 deletions