Skip to content
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

Hide importlib stack in visualization? #42

Open
anntzer opened this issue Nov 18, 2015 · 0 comments
Open

Hide importlib stack in visualization? #42

anntzer opened this issue Nov 18, 2015 · 0 comments

Comments

@anntzer
Copy link

anntzer commented Nov 18, 2015

Since the switch to pure-python importlib, importing a module brings in a bunch of functions to the call stack (_find_and_load, _find_and_load_unlocked,_load_unlocked,exec_module,_call_with_frames_removed`, etc.) Typically this shouldn't be an issue, except when profiling a startup where import time is significant.
Perhaps these should be special-cased and hidden away (like for traceback display)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants