SIGN IN SIGN UP

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.
N
Nate committed
fcfe80ec2592fed8b3941c79056a8737abef7d3b
Parent: 2e576f5
Committed by Serhiy Storchaka <storchaka@gmail.com> on 4/24/2017, 5:06:15 PM