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 <rep...@bugs.python.org> <http://bugs.python.org/issue22299> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com