[issue27731] Opt-out of MAX_PATH on Windows 10

2016-09-06 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue27731] Opt-out of MAX_PATH on Windows 10

2016-09-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 26601191b368 by Steve Dower in branch 'default': Issue #27731: Opt-out of MAX_PATH on Windows 10 https://hg.python.org/cpython/rev/26601191b368 -- nosy: +python-dev ___ Python tracker

[issue27731] Opt-out of MAX_PATH on Windows 10

2016-09-06 Thread Steve Dower
Steve Dower added the comment: Just confirmed that the manifest not being required is a bug, so I'll add it, document it and complete this. -- ___ Python tracker

[issue27731] Opt-out of MAX_PATH on Windows 10

2016-09-03 Thread Brett Cannon
Brett Cannon added the comment: SGTM -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27731] Opt-out of MAX_PATH on Windows 10

2016-09-03 Thread Steve Dower
Steve Dower added the comment: More info at https://blogs.msdn.microsoft.com/jeremykuhne/2016/07/30/net-4-6-2-and-long-paths-on-windows-10/ -- ___ Python tracker

[issue27731] Opt-out of MAX_PATH on Windows 10

2016-09-03 Thread Steve Dower
Steve Dower added the comment: Just discovered that this actually requires enabling the group policy for long paths - specifically setting HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem@LongPathsEnabled to 1. Apparently the manifest is also required, but in my testing the

[issue27731] Opt-out of MAX_PATH on Windows 10

2016-08-18 Thread Eryk Sun
Eryk Sun added the comment: > anything running under the python.exe will get it for free. py.exe may as well get the manifest setting, but it's not critical. It isn't common to store scripts in deeply nested paths. The same goes for the distlib launchers that pip uses for entry points since

[issue27731] Opt-out of MAX_PATH on Windows 10

2016-08-18 Thread Steve Dower
Steve Dower added the comment: > Will it apply to third-party C extensions loaded into Python? Yes, anything running under the python.exe will get it for free. (Non-standard entry points will need to add the flag themselves.) -- ___ Python tracker

[issue27731] Opt-out of MAX_PATH on Windows 10

2016-08-18 Thread STINNER Victor
STINNER Victor added the comment: Steve Dower added the comment: > No, the flag that we add to the binary is backwards compatible. Earlier versions will just ignore it. Cool. -- ___ Python tracker

[issue27731] Opt-out of MAX_PATH on Windows 10

2016-08-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is great! Will it apply to third-party C extensions loaded into Python? -- nosy: +pitrou ___ Python tracker ___

[issue27731] Opt-out of MAX_PATH on Windows 10

2016-08-17 Thread Steve Dower
Steve Dower added the comment: No, the flag that we add to the binary is backwards compatible. Earlier versions will just ignore it. -- ___ Python tracker

[issue27731] Opt-out of MAX_PATH on Windows 10

2016-08-17 Thread STINNER Victor
STINNER Victor added the comment: Hum, but we use the same binary (.exe) for all Windows versions. Does it mean that we drop support for Windows < 10 in Python 3.6? -- nosy: +haypo ___ Python tracker

[issue27731] Opt-out of MAX_PATH on Windows 10

2016-08-10 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___

[issue27731] Opt-out of MAX_PATH on Windows 10

2016-08-10 Thread Steve Dower
New submission from Steve Dower: According to https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx we can opt-out of MAX_PATH limitations on a selection of functions on the latest version of Windows 10. This will allow unprefixed paths (i.e. no "\\?\") to exceed