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 negative feedback on python-ideas, I close this issue and will investigate the documentation option. ---------- resolution: -> fixed status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26670> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com