[issue542314] long file name support broken in windows

Mark Hammond report at bugs.python.org
Sat Sep 15 04:00:29 CEST 2007


Mark Hammond added the comment:

I can confirm the code in question was removed and that long filenames
are possible in 2.5.  Eg:

import os
p = "\\\\?\\" + os.getcwdu()
for i in range(10):
    p = os.path.join(p, 'x' * 100)
    os.mkdir(p)
    os.stat(p)
print len(p)

I don't think Python should try and hide this madness, so I'm marking it
as closed.

----------
resolution:  -> fixed
status: open -> closed

____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue542314>
____________________________________


More information about the Python-bugs-list mailing list