summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNate <nate@so8r.es>2017-04-24 17:06:15 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-04-24 17:06:15 (GMT)
commitfcfe80ec2592fed8b3941c79056a8737abef7d3b (patch)
tree5dc4a68452313e95e2e9bcecac7b9821d14c3a15 /Misc
parent2e576f5aec1f8f23f07001e2eb3db9276851a4fc (diff)
downloadcpython-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 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 651d175..bf0c015 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -317,6 +317,9 @@ Extension Modules
Library
-------
+- bpo-29822: inspect.isabstract() now works during __init_subclass__. Patch
+ by Nate Soares.
+
- bpo-29960: Preserve generator state when _random.Random.setstate()
raises an exception. Patch by Bryan Olson.