Nick Coghlan added the comment: If the embedding application doesn't call PySys_SetArgv or PySys_SetArgvEx, then there is no `argv` attribute defined in the sys module (I wasn't actually sure what happened in that case, so I went and checked the code).
For the reference CLI, the relevant call happens in Py_Main() after all the interpreter level arguments have been processed. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29857> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com