aboutsummaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorIvan Levkivskyi <levkivskyi@gmail.com>2018-02-18 12:41:58 +0000
committerGitHub <noreply@github.com>2018-02-18 12:41:58 +0000
commit03e3c340a0156891a036d6dbdb9e348108826255 (patch)
tree5b897f150d3855868c7cf3c2fb1c7c6a313d4e31 /Doc
parentAdd missing backslashes to get_externals.bat (GH-5731) (diff)
downloadcpython-03e3c340a0156891a036d6dbdb9e348108826255.tar.gz
cpython-03e3c340a0156891a036d6dbdb9e348108826255.tar.bz2
cpython-03e3c340a0156891a036d6dbdb9e348108826255.zip
bpo-31333: Re-implement ABCMeta in C (#5273)
This adds C versions of methods used by ABCMeta that improve performance of various ABC operations.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.7.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 7c98c7cfa38..c35f07c0eab 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -853,6 +853,12 @@ Optimizations
* Constant folding is moved from peephole optimizer to new AST optimizer.
(Contributed by Eugene Toder and INADA Naoki in :issue:`29469`)
+* Most functions and methods in :mod:`abc` have been rewrittent in C.
+ This makes creation of abstract base classes, and calling :func:`isinstance`
+ and :func:`issubclass` on them 1.5x faster. This also reduces Python
+ start-up time by up to 10%. (Contributed by Ivan Levkivskyi and INADA Naoki
+ in :issue:`31333`)
+
Build and C API Changes
=======================