]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-73991: Disallow copying directory into itself via `pathlib.Path.copy()` (#122924)
authorBarney Gale <barney.gale@gmail.com>
Fri, 23 Aug 2024 19:03:11 +0000 (20:03 +0100)
committerGitHub <noreply@github.com>
Fri, 23 Aug 2024 19:03:11 +0000 (20:03 +0100)
commitd7ae4dc5c14bc014ca0c056dab54c86ba8f395cb
tree3efe697566e955e5825c726586942c0d8a30e633
parentbf1b5d323bdb6b1609c6f4b31dcaed621e5d0e2f
GH-73991: Disallow copying directory into itself via `pathlib.Path.copy()` (#122924)
Lib/pathlib/_abc.py
Lib/test/test_pathlib/test_pathlib_abc.py