STINNER Victor added the comment: > The problem is that we never prepend "\\?\" to the pathname hence getting the > old MAX_PATH limit.
I would not call this a "problem". In my opinion, it is a bug in Windows: I don't understand why we should preprend something to support longer path. I'm not sure that low-level APIs (functions of the os module) should workaround this Windows limitation. An higher level API like pathlib may prepend "\\?\" prefix to support longer path. pathlib: PEP 428 and https://pypi.python.org/pypi/pathlib/ ---------- type: behavior -> enhancement _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18199> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com