Skip to content

Commit

Permalink
pythongh-103193: Celebrate performance improvements to `inspect.getat…
Browse files Browse the repository at this point in the history
…tr_static` in 'What's New in Python 3.12' (python#103349)
  • Loading branch information
AlexWaygood authored and warsaw committed Apr 11, 2023
1 parent 349714d commit 21d40b6
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 21d40b6

Please sign in to comment.