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

2012-07-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: This should be fixed now. Thanks! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

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

2012-07-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset c97d78415f5a by Antoine Pitrou in branch '3.2': Issue #15020: The program name used to search for Python's path is now "python3" under Unix, not "python". http://hg.python.org/cpython/rev/c97d78415f5a New changeset 61e6ac40c816 by Antoine Pitrou i

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

2012-07-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Okay, that's convincing enough. Besides, I don't think it has ever worked for Windows, since it misses the adding of a ".exe" suffix. -- ___ Python tracker __

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

2012-07-05 Thread Joshua Cogliati
Joshua Cogliati added the comment: > 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). Setting Py_SetPath manually would basically requi

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

2012-07-05 Thread Antoine Pitrou
Antoine Pitrou 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?

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

2012-07-05 Thread Joshua Cogliati
Joshua Cogliati added the comment: > Joshua: what command did you run under strace? A program I created that embeds python3. I could create a minimum piece of code that triggered the bug if needed. > Maybe it would be better to use L"python3.2" for Python 3.2 and L"python3.3" > for Python 3

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

2012-07-04 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Maybe it would be better to use L"python3.2" for Python 3.2 and L"python3.3" for Python 3.3. -- nosy: +Arfrever ___ Python tracker __

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

2012-07-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: This sounds reasonable. Is there any reason that this change might be detrimental? -- nosy: +pitrou ___ Python tracker ___ ___

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

2012-07-02 Thread Éric Araujo
Éric Araujo added the comment: Joshua: what command did you run under strace? -- ___ Python tracker ___ ___ Python-bugs-list mailing

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

2012-07-02 Thread Éric Araujo
Éric Araujo added the comment: Any opposition? -- nosy: +benjamin.peterson, georg.brandl ___ Python tracker ___ ___ Python-bugs-list

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

2012-06-13 Thread Joshua Cogliati
Changes by Joshua Cogliati : -- title: Poor default value for progname in pythonrun.c -> default value for progname in pythonrun.c should be python3 for Python 3 ___ Python tracker