[issue39950] Add pathlib.Path.hardlink_to()

2021-06-13 Thread Barney Gale
Change by Barney Gale : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.9 ___ Python tracker ___

[issue39950] Add pathlib.Path.hardlink_to()

2021-05-16 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset b913f47e87f788e705716ae037ee9f68b4265e69 by Miss Islington (bot) in branch '3.10': bpo-39950: Fix deprecation warning in test for `pathlib.Path.link_to()` (GH-26155) (GH-26178)

[issue39950] Add pathlib.Path.hardlink_to()

2021-05-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +24801 pull_request: https://github.com/python/cpython/pull/26178 ___ Python tracker ___

[issue39950] Add pathlib.Path.hardlink_to()

2021-05-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +24792 pull_request: https://github.com/python/cpython/pull/26158 ___ Python tracker ___

[issue39950] Add pathlib.Path.hardlink_to()

2021-05-15 Thread Barney Gale
Change by Barney Gale : -- pull_requests: +24789 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/26155 ___ Python tracker ___

[issue39950] Add pathlib.Path.hardlink_to()

2021-05-15 Thread Barney Gale
Change by Barney Gale : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39950] Add pathlib.Path.hardlink_to()

2021-05-15 Thread Barney Gale
Change by Barney Gale : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39950] Add pathlib.Path.hardlink_to()

2021-05-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The changes have introduced deprecation warnings in tests. It seems https://github.com/python/cpython/blob/ad106c68eb00f5e4af2f937107baff6141948cee/Lib/test/test_pathlib.py#L1937 is not covered. ./python -Wall -m test test_pathlib

[issue39950] Add pathlib.Path.hardlink_to()

2021-04-23 Thread miss-islington
miss-islington added the comment: New changeset f24e2e5464ba6498e7b8d73c3f9b417d59fd1b26 by Barney Gale in branch 'master': bpo-39950: add `pathlib.Path.hardlink_to()` method that supersedes `link_to()` (GH-18909)

[issue39950] Add pathlib.Path.hardlink_to()

2021-01-21 Thread Barney Gale
Barney Gale added the comment: I've logged bpo-42999 to cover fixing the existing `link_to()` docs issues. PR incoming... -- ___ Python tracker ___

[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 comparing this to

[issue39950] Add pathlib.Path.hardlink_to()

2021-01-21 Thread Barney Gale
Barney Gale added the comment: Makes sense to me. Should I leave the documentation for `link_to` completely alone? With the addition of a similar function, I wonder if that may in itself cause confusion. -- ___ Python tracker

[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 ___

[issue39950] Add pathlib.Path.hardlink_to()

2020-03-29 Thread Barney Gale
Barney Gale added the comment: A question: For my patch, I need to include a Python version where `Path.link_to()` will become unavailable. I'm not entirely sure how this should be determined. Some factors in play: - `link_to()` was added in Python 3.8 - On github, I found these three

[issue39950] Add pathlib.Path.hardlink_to()

2020-03-12 Thread Barney Gale
Change by Barney Gale : -- keywords: +patch pull_requests: +18321 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18909 ___ Python tracker ___

[issue39950] Add pathlib.Path.hardlink_to()

2020-03-12 Thread Barney Gale
New submission from Barney Gale : Per bpo-39291, the argument order for `pathlib.Path.link_to()` is inconsistent with `symlink_to()` and its own documentation. This ticket covers adding a new `hardlink_to()` method with the correct argument order, and deprecating `link_to()`. Discussion on