Message285486
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. |
|
| Date |
User |
Action |
Args |
| 2017-01-14 14:54:07 | craigh | set | recipients:
+ craigh, tim.golden, zach.ware, eryksun, steve.dower, eric.fahlgren |
| 2017-01-14 14:54:07 | craigh | set | messageid: <[email protected]> |
| 2017-01-14 14:54:07 | craigh | link | issue23407 messages |
| 2017-01-14 14:54:07 | craigh | create | |
|