Message204597
The 2.7-compatible version of pathlib explains why the code is structured this way:
if sys.getwindowsversion()[:2] >= (6, 0) and sys.version_info >= (3, 2):
from nt import _getfinalpathname
else:
supports_symlinks = False
_getfinalpathname = None
In the stdlib version, I removed the `sys.version_info >= (3, 2)` and so it may look like as easy to rely on os.symlink raising NotImplementedError. That would make merging back more difficult, though, so I'd rather keep it like that. |
|
Date |
User |
Action |
Args |
2013-11-27 15:18:58 | pitrou | set | recipients:
+ pitrou, tim.golden, brian.curtin, vajrasky |
2013-11-27 15:18:58 | pitrou | set | messageid: <1385565538.42.0.597778446501.issue19792@psf.upfronthosting.co.za> |
2013-11-27 15:18:58 | pitrou | link | issue19792 messages |
2013-11-27 15:18:58 | pitrou | create | |
|