[issue15020] Poor default value for progname in pythonrun.c

2012-06-08 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo title: Poor default value for progname -> Poor default value for progname in pythonrun.c ___ Python tracker ___ __

[issue15020] Poor default value for progname

2012-06-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue15020] Poor default value for progname

2012-06-06 Thread Joshua Cogliati
Joshua Cogliati added the comment: Here is a part of an strace where Python fails to find python3: (This would work if progname=L"python3" ) ... 23249 stat("/opt/python/3.2.2.3/bin/python", 0x7fff2881cbf0) = -1 ENOENT (No such file or directory) 23249 readlink("/usr/local/bin/python", "/usr/bin

[issue15020] Poor default value for progname

2012-06-06 Thread Joshua Cogliati
New submission from Joshua Cogliati : In Python/pythonrun.c the following definition exists: static wchar_t *progname = L"python"; This is then used by Py_GetProgramName which is used by calculate_path in Modules/getpath.c Since in python 3, the default executable is python3, and not python,