-
-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
gh-102567: Add -X importtime=2 for logging an importtime message for already-loaded modules #118655
base: main
Are you sure you want to change the base?
Conversation
Hello!
|
Thanks for the quick feedback. I've committed a first pass of 1-3. As for tests: there appear to be no Thanks again! |
Yes, it would be sufficient :) |
Also, there's a merge conflict. Can you resolve it? (I can do it myself, but it seems like you have turned off this option) |
Done, just added tests as well |
@Eclips4 who should I ping to get final review? Is it alright if I @ the blamed reviewers? |
I guess @vstinner is the right person to review this 😄 |
The same applies for the |
As mentioned in the issue:
The updated example:
Discussion: https://discuss.python.org/t/x-importtrace-to-supplement-x-importtime-for-loaded-modules/23882/5
Prior email chain: https://mail.python.org/archives/list/python-ideas@python.org/thread/GEISYQ5BXWGKT33RWF77EOSOMMMFUBUS/
-X importtime=2
for additional logging when an imported module is already loaded #102567