Message305558
One benefit (or drawback, depending on how you see it) of the -X option is that it wouldn't propagate to child processes spawned by multiprocessing. See _args_from_interpreter_flags() in Lib/subprocess.py.
More generally, the idea that we should remove a command line option because there's an environment variable sounds dubious to me. Should we do the same for all command-line options? The faulthandler module can be enabled either using the `PYTHONFAULTHANDLER` environment variable or by specifying `-X faulthandler` on the command line.
The only serious reason I can imagine would be that the -X option has a significant maintenance cost. |
|
Date |
User |
Action |
Args |
2017-11-04 13:17:31 | pitrou | set | recipients:
+ pitrou, gvanrossum, barry, brett.cannon, rhettinger, terry.reedy, vstinner, christian.heimes, methane, lukasz.langa, serhiy.storchaka |
2017-11-04 13:17:31 | pitrou | set | messageid: <1509801451.17.0.213398074469.issue31415@psf.upfronthosting.co.za> |
2017-11-04 13:17:31 | pitrou | link | issue31415 messages |
2017-11-04 13:17:31 | pitrou | create | |
|