Martin v. Löwis mar...@v.loewis.de added the comment:
Unless you think the code is actually incorrect as it stands, it's certainly
worse to change it (in whatever respect) than to leave it.
--
___
Python tracker rep...@bugs.python.org
David-Sarah Hopwood david-sa...@jacaranda.org added the comment:
Looking at
http://svn.python.org/view/python/branches/py3k/PC/getpathp.c?r1=73322r2=73321pathrev=73322
, wouldn't it be better to add a Py_WGETENV function? There are likely to be
other cases where that would be the correct
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Here is a patch: fix+test.
I left the initial code, #ifdef'd for PC platforms different than
MS_WINDOWS. Just in case someone wants to port py3k to OS/2...
--
keywords: +patch
Added file:
Martin v. Löwis mar...@v.loewis.de added the comment:
The patch looks right to me, please apply.
--
assignee: - amaury.forgeotdarc
resolution: - accepted
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5924
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Fixed in r73322 (py3k) and r73323 (3.0)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5924
___
Changes by Amaury Forgeot d'Arc amaur...@gmail.com:
--
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5924
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
After some attempts, it seems that PYTHONPATH is completely ignored if
it is longer than 256 characters
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Confirmed in PC/getpathp.c:
size_t r = mbstowcs(wenvpath, _envpath, MAXPATHLEN+1);
envpath = wenvpath;
if (r == (size_t)-1 || r = MAXPATHLEN)
envpath = NULL;
Changes by Suzumizaki suzumiz...@free.japandesign.ne.jp:
--
nosy: +Suzumizaki
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5924
___
___
New submission from Fabio Zadrozny fab...@users.sourceforge.net:
Setting the complete PYTHONPATH in Python 3.x does not work (reported
initially for Pydev:
https://sourceforge.net/tracker/index.php?func=detailaid=2767830group_id=85796atid=577329
). Checked on 3.0.1 and 3.1a2.
I'm not sure if
10 matches
Mail list logo