You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a developer mode: -X dev command line option #70857
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2016-04-01.14:08:18.840>created_at=<Date2016-03-30.08:20:14.736>labels= ['type-feature']
title='Add a developer mode: -X dev command line option'updated_at=<Date2016-04-01.14:17:52.884>user='https://github.com/vstinner'
Why does this patch execv() the interpreter to set options? I'd expect it to be possible to get the same result by updating the argument parsing code in Py_Main.
Why does this patch execv() the interpreter to set options? I'd expect it to be possible to get the same result by updating the argument parsing code in Py_Main.
It's to set PYTHONMALLOC env var which must be set before Py_Main() is called.
Since I got negative feedback on python-ideas, I close this issue and will investigate the documentation option.
Activity
vstinner commentedon Mar 30, 2016
Attached patch implements the idea proposed on the python-ideas mailing list:
https://mail.python.org/pipermail/python-ideas/2016-March/039314.html
The patch is a proof-of-concept. The code still contains FIXME.
ronaldoussoren commentedon Mar 30, 2016
Why does this patch execv() the interpreter to set options? I'd expect it to be possible to get the same result by updating the argument parsing code in Py_Main.
vstinner commentedon Apr 1, 2016
It's to set PYTHONMALLOC env var which must be set before Py_Main() is called.
Since I got negative feedback on python-ideas, I close this issue and will investigate the documentation option.