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 eryksun
Recipients Kevin.Norris, eryksun, pitrou, steve.dower, tim.golden, zach.ware
Date 2014-09-05.17:17:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1409937437.67.0.412240645971.issue22299@psf.upfronthosting.co.za>
In-reply-to
Content
It should only skip _ext_to_normal for an already extended path, i.e. a path that starts with ext_namespace_prefix. Otherwise it needs to call _ext_to_normal. For example:

Strip the prefix in this case:

    >>> os.path._getfinalpathname('C:\\Windows')       
    '\\\\?\\C:\\Windows'

but not in this case:

    >>> os.path._getfinalpathname(r'\\?\GLOBALROOT\Device\HarddiskVolume1\Windows')
    '\\\\?\\C:\\Windows'
History
Date User Action Args
2014-09-05 17:17:17eryksunsetrecipients: + eryksun, pitrou, tim.golden, zach.ware, steve.dower, Kevin.Norris
2014-09-05 17:17:17eryksunsetmessageid: <1409937437.67.0.412240645971.issue22299@psf.upfronthosting.co.za>
2014-09-05 17:17:17eryksunlinkissue22299 messages
2014-09-05 17:17:17eryksuncreate