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

Jason Day report at bugs.python.org
Wed Oct 8 03:21:31 CEST 2008


Jason Day <jason.day at bluetechllc.com> 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 returns an empty string.
The offending _getfullpathname call occurs on the first call to one of these methods. Future calls to either do not call it (unless, of course, the first failed).

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4071>
_______________________________________


More information about the Python-bugs-list mailing list