Message306574
`subprocess._args_from_interpreter_flags()` is used to control the flags passed to child Python processes, for example launched by multiprocessing. Unfortunately, not all flags are actually recognized by this function:
$ ./python -X dev
Python 3.7.0a2+ (heads/master:895862a, Nov 20 2017, 19:15:23)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys._xoptions
{'dev': True}
>>> import subprocess
>>> subprocess._args_from_interpreter_flags()
['-Wdefault'] |
|
Date |
User |
Action |
Args |
2017-11-20 18:18:46 | pitrou | set | recipients:
+ pitrou, barry, vstinner, davin |
2017-11-20 18:18:46 | pitrou | set | messageid: <1511201926.73.0.213398074469.issue32094@psf.upfronthosting.co.za> |
2017-11-20 18:18:46 | pitrou | link | issue32094 messages |
2017-11-20 18:18:46 | pitrou | create | |
|