[issue26670] Add a developer mode: -X dev command line option

2016-04-01 Thread SilentGhost
Changes by SilentGhost : -- resolution: fixed -> rejected stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue26670] Add a developer mode: -X dev command line option

2016-04-01 Thread STINNER Victor
STINNER Victor added the comment: > 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

[issue26670] Add a developer mode: -X dev command line option

2016-03-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: 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. -- nosy: +ronaldoussoren ___ Python tracker

[issue26670] Add a developer mode: -X dev command line option

2016-03-30 Thread STINNER Victor
New submission from STINNER Victor: 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. -- files: dev_mode.patch keywords: patc