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 craigh
Recipients craigh, eric.fahlgren, eryksun, steve.dower, tim.golden, zach.ware
Date 2017-01-14.14:54:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484405647.36.0.493436835151.issue23407@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a new patch:  now, _Py_attribute_data_to_stat and Py_DeleteFileW will just use the IsReparseTagNameSurrogate macro to determine if the file is a link, so os.walk etc. will know not to follow them.  os.readlink, however, will only work with junctions and symbolic links; otherwise it will raise ValueError with "unsupported reparse tag".

This way, there's a basic level of support for all name-surrogate tags, but os.readlink only works with the ones whose internal structure is (semi-) documented.
History
Date User Action Args
2017-01-14 14:54:07craighsetrecipients: + craigh, tim.golden, zach.ware, eryksun, steve.dower, eric.fahlgren
2017-01-14 14:54:07craighsetmessageid: <1484405647.36.0.493436835151.issue23407@psf.upfronthosting.co.za>
2017-01-14 14:54:07craighlinkissue23407 messages
2017-01-14 14:54:07craighcreate