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 ned.deily
Recipients eryksun, lukasz.langa, miss-islington, ned.deily, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019-08-29.19:57:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
... and the other important difference is that older versions of macOS do not support fd functions so _use_fd_functions is false and the alternate path is taken in shutil.rmtree, the path that calls _rm_tree_islink which fails.

>>> shutil.rmtree('a')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/", line 718, in rmtree
    if _rmtree_islink(path):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/", line 564, in _rmtree_islink
    (st.st_file_attributes & stat.FILE_ATTRIBUTE_REPARSE_POINT
AttributeError: 'os.stat_result' object has no attribute 'st_file_attributes'
Date User Action Args
2019-08-29 19:57:52ned.deilysetrecipients: + ned.deily, paul.moore, tim.golden, lukasz.langa, zach.ware, eryksun, steve.dower, miss-islington
2019-08-29 19:57:52ned.deilysetmessageid: <>
2019-08-29 19:57:52ned.deilylinkissue37834 messages
2019-08-29 19:57:52ned.deilycreate