This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients brian.curtin, pitrou, tim.golden, vajrasky
Date 2013-11-27.15:18:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385565538.42.0.597778446501.issue19792@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-11-27 15:18:58pitrousetrecipients: + pitrou, tim.golden, brian.curtin, vajrasky
2013-11-27 15:18:58pitrousetmessageid: <1385565538.42.0.597778446501.issue19792@psf.upfronthosting.co.za>
2013-11-27 15:18:58pitroulinkissue19792 messages
2013-11-27 15:18:58pitroucreate