[issue31415] Add -X option to show import time
Raymond Hettinger
report at bugs.python.org
Sun Sep 24 15:30:53 EDT 2017
Raymond Hettinger added the comment:
Guido, is this something you want?
Historically, we've shown a lot of restraint when it comes to adding command-line options.
Also, I'm not sure we want to induce people to start moving their imports inside function calls. Just because we sometimes adopt constipated programming practices in the standard library doesn't mean we think everyone should do it. (This is doubly true because sometimes the savings is a false savings if the import eventually occurs downstream and because there is currently work being done on lazy imports that would make the technique irrelevant).
----------
assignee: -> gvanrossum
nosy: +gvanrossum, rhettinger
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31415>
_______________________________________
More information about the Python-bugs-list
mailing list