]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-103193: Celebrate performance improvements to `inspect.getattr_static` in 'What...
authorAlex Waygood <Alex.Waygood@Gmail.com>
Fri, 7 Apr 2023 17:14:50 +0000 (18:14 +0100)
committerGitHub <noreply@github.com>
Fri, 7 Apr 2023 17:14:50 +0000 (18:14 +0100)
Doc/whatsnew/3.12.rst

index 23524ec5d7d452533507307626aaf6a09503557b..3a12fb20c43c51156a4798db13d70353538bf6e2 100644 (file)
@@ -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
 -------