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 vstinner
Recipients brett.cannon, serhiy.storchaka, tohojo, vstinner
Date 2019-12-16.12:28:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576499318.37.0.806759190193.issue38811@roundup.psfhosted.org>
In-reply-to
Content
Thanks Toke Høiland-Jørgensen! I merged your fix.

I don't really get why the Debian/Ubuntu image on Travis CI didn't get os.link() function, but I'm not really intersted to dig into this question. It's fine to simply skip the feature if it's not available, we do that in many places in Python.

I asked Toke Høiland-Jørgensen to revert his changes about os.symlink(): the pathlib code to handle missing os.symlink() seems to be broken, but it also seems like Python no longer support platforms without os.symlink(). Only old Windows version didn't support os.symlink(), but Python don't support these versions anymore.

I merged the os.link() change into master and made a 3.8 backport which will be merged automatically soon.

I close the issue.
History
Date User Action Args
2019-12-16 12:28:38vstinnersetrecipients: + vstinner, brett.cannon, serhiy.storchaka, tohojo
2019-12-16 12:28:38vstinnersetmessageid: <1576499318.37.0.806759190193.issue38811@roundup.psfhosted.org>
2019-12-16 12:28:38vstinnerlinkissue38811 messages
2019-12-16 12:28:38vstinnercreate