[issue31415] Add -X option to show import time

Terry J. Reedy report at bugs.python.org
Fri Nov 3 17:23:12 EDT 2017


Terry J. Reedy <tjreedy at udel.edu> added the comment:

> `PYTHONPROFILEIMPORTTIME=x python` isn’t *too* onerous

It does not work on Windows.

C:\Users\Terry>PYTHONPROFILEIMPORTTIME=x python
'PYTHONPROFILEIMPORTTIME' is not recognized as an internal or external command, operable program or batch file.

Does it set the EV for the entire session (which one likely would not want), or just the one command (which has no Windows equivalent that I know of)?  Please leave the easily remembered and typed option.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31415>
_______________________________________


More information about the Python-bugs-list mailing list