[issue15020] default value for progname in pythonrun.c should be python3 for Python 3

Antoine Pitrou report at bugs.python.org
Thu Jul 5 20:16:13 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

Hmm, actually, there is a potential problem. While "python3" is the official binary under POSIX, under Windows it is "python" (well, "python.exe").

Joshua, if you are embedding Python, why don't you simply call Py_SetPath to set the search path appropriately? Or is it not enough? (I've lost memory of the mazy details of how we calculate paths :-S).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15020>
_______________________________________


More information about the Python-bugs-list mailing list