diff options
author | Guido van Rossum <guido@dropbox.com> | 2016-09-09 19:58:15 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@dropbox.com> | 2016-09-09 19:58:15 (GMT) |
commit | 7719d464317439b314aae438792011bd02c580ff (patch) | |
tree | c5bc8b5f62dd35c31dc9e95c35b68d80119d4f3d /Modules/README | |
parent | 724f6a67f241f39394b15c419570920ebdfefacb (diff) | |
parent | 1140a0342613c30feaedfe96b9e09ad7248de490 (diff) | |
download | cpython-7719d464317439b314aae438792011bd02c580ff.zip cpython-7719d464317439b314aae438792011bd02c580ff.tar.gz cpython-7719d464317439b314aae438792011bd02c580ff.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. (Also there are more isinstance() checks to fix.)
Diffstat (limited to 'Modules/README')
0 files changed, 0 insertions, 0 deletions