diff options
author | Nate <nate@so8r.es> | 2017-06-07 04:21:34 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-06-07 04:21:34 (GMT) |
commit | 09b6c0c71ea944f7e8b46998f3ebaf5b9fbe15f6 (patch) | |
tree | d739191285cb0132915499694eb6b8b97c1fe4f0 /Lib/pathlib.py | |
parent | 6fb12b5c43945f61f3da82e33eafb4ddae2296ee (diff) | |
download | cpython-09b6c0c71ea944f7e8b46998f3ebaf5b9fbe15f6.zip cpython-09b6c0c71ea944f7e8b46998f3ebaf5b9fbe15f6.tar.gz cpython-09b6c0c71ea944f7e8b46998f3ebaf5b9fbe15f6.tar.bz2 |
[3.6] bpo-29822: make inspect.isabstract() work during __init_subclass__ (#1979)
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.
(cherry picked from commit fcfe80ec2592fed8b3941c79056a8737abef7d3b)
Diffstat (limited to 'Lib/pathlib.py')
0 files changed, 0 insertions, 0 deletions