[issue4071] ntpath.abspath fails for long str paths

2008-10-09 Thread Jason Day
Changes by Jason Day <[EMAIL PROTECTED]>: -- title: ntpath.abspath can fail on Win Server 2008 (64-bit) -> ntpath.abspath fails for long str paths ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue4071] ntpath.abspath can fail on Win Server 2008 (64-bit)

2008-10-08 Thread Jason Day
Jason Day <[EMAIL PROTECTED]> added the comment: > Indeed. Do you happen to have the complete traceback of the failing > tempfile.mktemp() call? I don't see where it can use the PATH > environment variable. The problem was that somehow, on our systems, the TEMP environmenta

[issue4071] ntpath.abspath fails for long str paths

2008-10-08 Thread Jason Day
Changes by Jason Day <[EMAIL PROTECTED]>: -- title: ntpath.abspath can fail on Win Server 2008 (64-bit) -> ntpath.abspath fails for long str paths ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue4071] ntpath.abspath can fail on Win Server 2008 (64-bit)

2008-10-08 Thread Jason Day
Jason Day <[EMAIL PROTECTED]> added the comment: > I am not sure to understand. Do you mean the whole PATH environment > variable? I doubt that it is passed to _getfullpathname. > Or do you have very long paths for one directory? the TEMP environment > variable, for example?

[issue4071] ntpath.abspath can fail on Win Server 2008 (64-bit)

2008-10-07 Thread Jason Day
Jason Day <[EMAIL PROTECTED]> added the comment: Running help() or mktemp() causes _getfullpathname to be called with the whole system path (791 characters). If you pass that to _getfullpathname as str it throws the aforementioned TypeError. If it's passed as unicode, it return

[issue4071] ntpath.abspath can fail on Win Server 2008 (64-bit)

2008-10-07 Thread Jason Day
New submission from Jason Day <[EMAIL PROTECTED]>: On my system (Windows Server 2008 SP1 - 64-bit, Python 2.5.2 - 32-bit), simple actions like: >>> help(help) # Or any function or >>> import tempfile >>> f = tempfile.mktemp() result in this (rather confusing) e