[New-bugs-announce] [issue38811] Pathlib crashes when os module is missing 'link' method

Toke Høiland-Jørgensen report at bugs.python.org
Fri Nov 15 07:04:34 EST 2019


New submission from Toke Høiland-Jørgensen <toke at toke.dk>:

Commit 6b5b013bcc22 ("bpo-26978: Implement pathlib.Path.link_to (Using os.link) (GH-12990)") introduced a new link_to method in pathlib. However, this makes pathlib crash when the 'os' module is missing a 'link' method, as can be seen in the report in this CI test:

https://travis-ci.org/tohojo/flent/jobs/611950252

----------
components: Library (Lib)
messages: 356670
nosy: tohojo
priority: normal
severity: normal
status: open
title: Pathlib crashes when os module is missing 'link' method
type: crash
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38811>
_______________________________________


More information about the New-bugs-announce mailing list