This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients barry, davin, pitrou, vstinner
Date 2017-11-20.18:18:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1511201926.73.0.213398074469.issue32094@psf.upfronthosting.co.za>
In-reply-to
Content
`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']
History
Date User Action Args
2017-11-20 18:18:46pitrousetrecipients: + pitrou, barry, vstinner, davin
2017-11-20 18:18:46pitrousetmessageid: <1511201926.73.0.213398074469.issue32094@psf.upfronthosting.co.za>
2017-11-20 18:18:46pitroulinkissue32094 messages
2017-11-20 18:18:46pitroucreate