From: Guido van Rossum Date: Fri, 9 Sep 2016 19:58:15 +0000 (-0700) Subject: Rename Future._blocking to _asyncio_future_blocking. X-Git-Tag: v3.6.0b1~178 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7719d464317439b314aae438792011bd02c580ff;p=thirdparty%2FPython%2Fcpython.git 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.) --- 7719d464317439b314aae438792011bd02c580ff