[issue26978] Implement pathlib.Path.link (Using os.link)

2019-11-18 Thread Toke Høiland-Jørgensen
Change by Toke Høiland-Jørgensen : -- pull_requests: +16727 pull_request: https://github.com/python/cpython/pull/17225 ___ Python tracker <https://bugs.python.org/issue26

[issue38811] Pathlib crashes when os module is missing 'link' method

2019-11-18 Thread Toke Høiland-Jørgensen
Change by Toke Høiland-Jørgensen : -- pull_requests: +16726 pull_request: https://github.com/python/cpython/pull/17225 ___ Python tracker <https://bugs.python.org/issue38

[issue38811] Pathlib crashes when os module is missing 'link' method

2019-11-15 Thread Toke Høiland-Jørgensen
Toke Høiland-Jørgensen added the comment: Right, sure, that makes sense; thanks for clarifying :) -- ___ Python tracker <https://bugs.python.org/issue38

[issue38811] Pathlib crashes when os module is missing 'link' method

2019-11-15 Thread Toke Høiland-Jørgensen
Change by Toke Høiland-Jørgensen : -- keywords: +patch pull_requests: +16678 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17170 ___ Python tracker <https://bugs.python.org/issu

[issue26978] Implement pathlib.Path.link (Using os.link)

2019-11-15 Thread Toke Høiland-Jørgensen
Change by Toke Høiland-Jørgensen : -- pull_requests: +16679 pull_request: https://github.com/python/cpython/pull/17170 ___ Python tracker <https://bugs.python.org/issue26

[issue38811] Pathlib crashes when os module is missing 'link' method

2019-11-15 Thread Toke Høiland-Jørgensen
New submission from Toke Høiland-Jørgensen : 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,