Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - pitrou
nosy: +pitrou, serhiy.storchaka
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22370
___
Antoine Pitrou added the comment:
This sounds reasonable, indeed.
--
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22370
___
Roundup Robot added the comment:
New changeset cb1d7eac601d by Antoine Pitrou in branch '3.4':
Close #22370: Windows detection in pathlib is now more robust.
https://hg.python.org/cpython/rev/cb1d7eac601d
New changeset 712f246da49b by Antoine Pitrou in branch 'default':
Close #22370: Windows
New submission from Antony Lee:
Currently, pathlib contains the following check for the OS in the import
section:
try:
import nt
except ImportError:
nt = None
else:
if sys.getwindowsversion()[:2] = (6, 0):
from nt import _getfinalpathname