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
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
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
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
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
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
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
É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
___
É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
___
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
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
11 matches
Mail list logo