Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-103193: Celebrate performance improvements to inspect.getattr_static in 'What's New in Python 3.12' #103349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-103193: Celebrate performance improvements to `inspect.getattr_sta…
…tic` in 'What's New in Python 3.12'
  • Loading branch information
AlexWaygood committed Apr 7, 2023
commit 5198e34328f023e5680ff2322e0c87271edde269
4 changes: 4 additions & 0 deletions 4 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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.