Skip to content

Commit 04501ee

Browse files
authored
gh-103193: Celebrate performance improvements to inspect.getattr_static in 'What's New in Python 3.12' (#103349)
1 parent 4dc339b commit 04501ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/whatsnew/3.12.rst

+4
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,10 @@ inspect
255255
for determining the current state of asynchronous generators.
256256
(Contributed by Thomas Krennwallner in :issue:`35759`.)
257257

258+
* The performance of :func:`inspect.getattr_static` has been considerably
259+
improved. Most calls to the function should be around 2x faster than they
260+
were in Python 3.11. (Contributed by Alex Waygood in :gh:`103193`.)
261+
258262
pathlib
259263
-------
260264

0 commit comments

Comments
 (0)