Message305505
On Nov 3, 2017, at 11:05, Serhiy Storchaka <report@bugs.python.org> wrote:
>
> But now, after adding the environment variable, do we still need the -X option? From a user side I don't see much difference between specifying an option and an environment variable, but the code for handling the environment variable is much simpler.
It’s a good question. I guess in the limited amount of time I’ve used the feature so far, I find it kind of nice to be able to type `python -X importtime` when doing general import profiling. The use case for the environment variable is more compelling IMHO which is why I really wanted to add it. I suppose typing `PYTHONPROFILEIMPORTTIME=x python` isn’t *too* onerous, even if it is kind of a weird long mashed together word.
I suppose I’m -0 on removing the -X option, and +0 on adding the negative cache. |
|
Date |
User |
Action |
Args |
2017-11-03 20:38:15 | barry | set | recipients:
+ barry, gvanrossum, brett.cannon, rhettinger, terry.reedy, vstinner, christian.heimes, methane, lukasz.langa, serhiy.storchaka |
2017-11-03 20:38:15 | barry | link | issue31415 messages |
2017-11-03 20:38:15 | barry | create | |
|