]> granicus.if.org Git - python/commit
bpo-32539: Fix OSError for os.listdir() for extended-length paths on Windows (#5169)
authorAnthony Sottile <asottile@umich.edu>
Mon, 15 Jan 2018 21:39:04 +0000 (13:39 -0800)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 15 Jan 2018 21:39:04 +0000 (23:39 +0200)
commit27f32e938ff51fd5d90a29abbbabc6b81d156f33
tree4f119ab169d8ce36474fd1e877553a8395704329
parentab95b3074ee43098edf3f23b07fb18ef57ee614d
bpo-32539: Fix OSError for os.listdir() for extended-length paths on Windows (#5169)

See https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx?f=255&MSPPError=-2147217396#maxpath

Paths that begin with `\\?\` are "extended-length paths".
Lib/test/test_os.py
Misc/NEWS.d/next/Library/2018-01-12-09-20-22.bpo-32539.D7AbdE.rst [new file with mode: 0644]
Modules/posixmodule.c