[issue41615] sys.argv may be None or an empty list

Jason R. Coombs report at bugs.python.org
Sun Aug 30 09:08:15 EDT 2020


Jason R. Coombs <jaraco at jaraco.com> added the comment:

One possible option to guarantee initialization could be for PyInitialize to always call PySys_SetArgvEx(1, [""], 0), providing a default value for embedded interpreters that fail to call it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41615>
_______________________________________


More information about the Python-bugs-list mailing list