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

2012-07-05 Thread Joshua Cogliati
Joshua Cogliati jrinc...@gmail.com 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 Lpython3.2 for Python 3.2 and Lpython3.3

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

2012-07-05 Thread Antoine Pitrou
Antoine Pitrou pit...@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

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

2012-07-05 Thread Joshua Cogliati
Joshua Cogliati jrinc...@gmail.com 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

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

2012-07-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org

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

2012-07-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2012-07-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This should be fixed now. Thanks! -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15020

[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 arfrever@gmail.com added the comment: Maybe it would be better to use Lpython3.2 for Python 3.2 and Lpython3.3 for Python 3.3. -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org

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

2012-07-02 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Any opposition? -- nosy: +benjamin.peterson, georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15020 ___

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

2012-07-02 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Joshua: what command did you run under strace? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15020 ___

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

2012-07-02 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This sounds reasonable. Is there any reason that this change might be detrimental? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15020

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

2012-06-13 Thread Joshua Cogliati
Changes by Joshua Cogliati jrinc...@gmail.com: -- title: Poor default value for progname in pythonrun.c - default value for progname in pythonrun.c should be python3 for Python 3 ___ Python tracker rep...@bugs.python.org