summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Waygood <Alex.Waygood@Gmail.com>2023-04-07 17:14:50 (GMT)
committerGitHub <noreply@github.com>2023-04-07 17:14:50 (GMT)
commit04501ee57e7f6ef216b15b45785285fe4acebc42 (patch)
treea718e0f62e0231cd98fe7fe3dd9f1aac194a56c7
parent4dc339b4d69195448207e1faecc3e258700daf33 (diff)
downloadcpython-04501ee57e7f6ef216b15b45785285fe4acebc42.zip
cpython-04501ee57e7f6ef216b15b45785285fe4acebc42.tar.gz
cpython-04501ee57e7f6ef216b15b45785285fe4acebc42.tar.bz2
gh-103193: Celebrate performance improvements to `inspect.getattr_static` in 'What's New in Python 3.12' (#103349)
-rw-r--r--Doc/whatsnew/3.12.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index 23524ec..3a12fb2 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -255,6 +255,10 @@ inspect
for determining the current state of asynchronous generators.
(Contributed by Thomas Krennwallner in :issue:`35759`.)
+* The performance of :func:`inspect.getattr_static` has been considerably
+ improved. Most calls to the function should be around 2x faster than they
+ were in Python 3.11. (Contributed by Alex Waygood in :gh:`103193`.)
+
pathlib
-------