[issue42999] `pathlib.Path.link_to()` documentation is misleading

2021-01-21 Thread Jay Chu
Change by Jay Chu : -- nosy: +tothesong ___ Python tracker <https://bugs.python.org/issue42999> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39950] Add pathlib.Path.hardlink_to()

2021-01-21 Thread Jay Chu
Jay Chu added the comment: For me, and as you've pointed out, the current doc of `Path.link_to` is already wrong and misleading. Perhaps a fix of the doc should be made as a first step. The doc uses the expression "Create a hard link pointing to a path named target." But

[issue39950] Add pathlib.Path.hardlink_to()

2021-01-18 Thread Jay Chu
Jay Chu added the comment: Maybe we could have the correct `Path.hardlink` implemented before removing or even deprecating the confusing `Path.link_to`? It will only help even if we don't remove the latter in a hurry. -- nosy: +tothesong