gh-102931: Fix nonsense error messages in shutil.py#102827
gh-102931: Fix nonsense error messages in shutil.py#102827eric-wieser wants to merge 2 commits intopython:mainfrom
Conversation
Attempting to copy a file onto a symlink to itself previously gave the error ``` shutil.Error: ['<', 'D', 'i', 'r', 'E', 'n', 't', 'r', 'y', ' ', "'", 's', 't', 'y', 'l', 'e', '.', 'c', 's', 's', "'", '>', ' ', 'a', 'n', 'd', ' ', "'", 'b', 'u', 'i', 'l', 'd', '/', 'h', 't', 'm', 'l', '/', 's', 't', 'y', 'l', 'e', '.', 'c', 's', 's', "'", ' ', 'a', 'r', 'e', ' ', 't', 'h', 'e', ' ', 's', 'a', 'm', 'e', ' ', 'f', 'i', 'l', 'e'] ```
|
For a change like this you need to create an issue explaining what the problem you are fixing is (with a script to reproduce it). |
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
|
@iritkatriel The review got addressed: gh-102931 |
|
@eric-wieser Could you add a NEWS entry please? The Bedevere bot didn't post a reminder for some reason even after retriggering it with a merge commit. |
I didn't get around to adding a test to this PR though (and may not for some time). |
Attempting to copy a file onto a symlink to itself previously gave the error