[issue30494] python.exe crashed when open long path in windows 7

Eryk Sun report at bugs.python.org
Sat May 27 21:41:13 EDT 2017


Eryk Sun added the comment:

Your example works fine for me in Windows 10, and I see no reason why it would fail in Windows 7. The crash dialog in your screenshot shows that the problem occurred in a DLL named "winhadnt.dll". I suspect that this is malware injected into the python.exe process. Even if it's part of a legitimately installed program on your machine, this DLL has nothing to do with Python, so I'm closing this issue as 3rd party. 

By the way, Python 2 doesn't completely support raw unicode strings. '\u' and '\U' are still parsed as Unicode escape sequences. You can use forward slash for the path literal instead. Then normalize the path to use backslash at runtime.

----------
nosy: +eryksun
resolution:  -> third party
stage:  -> resolved
status: open -> closed
type:  -> crash

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


More information about the Python-bugs-list mailing list