FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-137855: Improve import time of `pathlib` by hugovk · Pull Request #146327 · python/cpython · GitHub

/ cpython Public

gh-137855: Improve import time of pathlib - #146327

Merged
encukou merged 2 commits into
python:mainfrom
hugovk:3.15-lazy-pathlib
May 5, 2026
Merged

gh-137855: Improve import time of pathlib#146327
encukou merged 2 commits into
python:mainfrom
hugovk:3.15-lazy-pathlib

Conversation

hugovk commented Mar 23, 2026
edited
Loading

Copy link
Copy Markdown
Member
Before: 7ms After: 2ms

hugovk added performance Performance or resource usage stdlib Standard Library Python modules in the Lib/ directory labels Mar 23, 2026
hugovk requested a review from barneygale as a code owner March 23, 2026 12:14

hugovk commented May 4, 2026

Copy link
Copy Markdown
Member Author

Confirmed after merge of #149338 that the -Xlazy_imports=none commands from #149321 work as expected.

encukou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks good, thank you!

encukou merged commit ffb543d into python:main May 5, 2026
53 checks passed
hugovk deleted the 3.15-lazy-pathlib branch May 5, 2026 12:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Performance or resource usage skip news stdlib Standard Library Python modules in the Lib/ directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL