-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Tools/importbench/importbench.py is broken #71605
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
Comments
$ ./python Tools/importbench/importbench.py
Traceback (most recent call last):
File "Tools/importbench/importbench.py", line 8, in <module>
from test.test_importlib.source import util as source_util
ImportError: cannot import name 'util' |
If you don't have any use for it I say just delete the benchmark. |
Just now I'm writing a patch for optimizing __import__. Maybe importbench would be helpful. |
Feel free to do whatever you need/want to with the benchmark. I originally created it when switching __import__ to importlib to prove that it didn't impact performance. |
Following patch seems fixes importbench. |
I don't see anything obviously wrong with it. |
New changeset ba4548916f05 by Serhiy Storchaka in branch '3.5': New changeset c2e898813409 by Serhiy Storchaka in branch 'default': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: