Skip to content

Commit

Permalink
gh-103193: Celebrate performance improvements to `inspect.getattr_sta…
Browse files Browse the repository at this point in the history
…tic` in 'What's New in Python 3.12' (#103349)
  • Loading branch information
AlexWaygood authored Apr 7, 2023
1 parent 4dc339b commit 04501ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------

Expand Down

0 comments on commit 04501ee

Please sign in to comment.