[issue22370] pathlib OS detection

2014-11-18 Thread Roundup Robot
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 det

[issue22370] pathlib OS detection

2014-11-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: This sounds reasonable, indeed. -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-lis

[issue22370] pathlib OS detection

2014-11-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> pitrou nosy: +pitrou, serhiy.storchaka type: -> behavior ___ Python tracker ___ ___ Py

[issue22370] pathlib OS detection

2014-09-09 Thread Antony Lee
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