diff options
author | Nate <nate@so8r.es> | 2017-04-24 17:06:15 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-04-24 17:06:15 (GMT) |
commit | fcfe80ec2592fed8b3941c79056a8737abef7d3b (patch) | |
tree | 5dc4a68452313e95e2e9bcecac7b9821d14c3a15 /Lib/asyncio/test_utils.py | |
parent | 2e576f5aec1f8f23f07001e2eb3db9276851a4fc (diff) | |
download | cpython-fcfe80ec2592fed8b3941c79056a8737abef7d3b.zip cpython-fcfe80ec2592fed8b3941c79056a8737abef7d3b.tar.gz cpython-fcfe80ec2592fed8b3941c79056a8737abef7d3b.tar.bz2 |
bpo-29822: Make inspect.isabstract() work during __init_subclass__. (#678)
At the time when an abstract base class' __init_subclass__ runs,
ABCMeta.__new__ has not yet finished running, so in the presence of
__init_subclass__, inspect.isabstract() can no longer depend only on
TPFLAGS_IS_ABSTRACT.
Diffstat (limited to 'Lib/asyncio/test_utils.py')
0 files changed, 0 insertions, 0 deletions