[issue22299] resolve() on Windows makes some pathological paths unusable
Steve Dower
report at bugs.python.org
Sat Sep 6 17:04:24 CEST 2014
Steve Dower added the comment:
If anyone wanted to test that really long path, here's the incantation to create it:
>>> import os, pathlib
>>> os.mkdir("C:\\a")
>>> os.mkdir("C:\\a\\" + "a"*150)
>>> os.rename("C:\\a", "C:\\" + "a"*150)
>>> p = pathlib.Path("C:\\") / ("a"*150) / ("a"*150)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22299>
_______________________________________
More information about the Python-bugs-list
mailing list