Author ned.deily
Recipients eryksun, lukasz.langa, miss-islington, ned.deily, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019-08-29.19:42:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567107756.12.0.753565328771.issue37834@roundup.psfhosted.org>
In-reply-to
Content
One problem seems to be that the code added for this issue assumes that the documentation is correct in implying that the stat.FILE_ATTRIBUTE_* constants (like stat.FILE_ATTRIBUTE_REPARSE_POINT) are only present on Windows.  But besides being conditionally created in _stat.c, they are also undconditionally defined in stat.py on all platforms.  That makes some of the tests in shutil.py, like:
    if hasattr(stat, 'FILE_ATTRIBUTE_REPARSE_POINT'):
to determine which versions of _rmtree_islink and _rmtree_isdir to define problematic.
History
Date User Action Args
2019-08-29 19:42:36ned.deilysetrecipients: + ned.deily, paul.moore, tim.golden, lukasz.langa, zach.ware, eryksun, steve.dower, miss-islington
2019-08-29 19:42:36ned.deilysetmessageid: <1567107756.12.0.753565328771.issue37834@roundup.psfhosted.org>
2019-08-29 19:42:36ned.deilylinkissue37834 messages
2019-08-29 19:42:35ned.deilycreate