Skip to content

Commit 8e75a52

Browse files
committed
Add NEWS entry
1 parent 233aeb8 commit 8e75a52

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Fix :meth:`pathlib.Path.copy` to correctly detect when the source and target
2+
refer to the same file, even when cached path information is stale.
3+
Previously, copying between hard links to the same file could empty the
4+
source file and lose its data without raising an error.

0 commit comments

Comments
 (0)