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 benjamin.peterson, keithfkelly, ned.deily, ronaldoussoren
Date 2019-08-29.20:06:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567109193.16.0.903130199588.issue37983@roundup.psfhosted.org>
In-reply-to
Content
lchmod is one of a number of os functions that is not available on older versions of macOS.  Chances are you are using a Python binary (possibly one supplied by a python.org installer) that was built to be used on a range of macOS versions and the oldest version did not support lchmod.  Note that there is a general warning about interface availability in the documentation for the os module:

"An “Availability: Unix” note means that this function is commonly found on Unix systems. It does not make any claims about its existence on a specific operating system."

Either use a version of Python built only for the latest versions of macOS or add a test in your code for the availability of lchown.

https://docs.python.org/2/library/os.html
History
Date User Action Args
2019-08-29 20:06:33ned.deilysetrecipients: + ned.deily, ronaldoussoren, benjamin.peterson, keithfkelly
2019-08-29 20:06:33ned.deilysetmessageid: <1567109193.16.0.903130199588.issue37983@roundup.psfhosted.org>
2019-08-29 20:06:33ned.deilylinkissue37983 messages
2019-08-29 20:06:32ned.deilycreate