diff options
author | Barney Gale <barney.gale@gmail.com> | 2025-02-24 19:10:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-24 19:10:50 (GMT) |
commit | 78e09a488d41066dea5f8dcf22405a0d5dd8be23 (patch) | |
tree | 4c9f7cf2b06f66eec462608e4dbde057b81ae2ba /Python/Python-ast.c | |
parent | 48c84a400aa90014a16ceac92df4b0cf5ca6b3d4 (diff) | |
download | cpython-78e09a488d41066dea5f8dcf22405a0d5dd8be23.zip cpython-78e09a488d41066dea5f8dcf22405a0d5dd8be23.tar.gz cpython-78e09a488d41066dea5f8dcf22405a0d5dd8be23.tar.bz2 |
GH-125413: Fix stale metadata from `pathlib.Path.copy()` and `move()` (#130424)
In `pathlib.Path.copy()` and `move()`, return a fresh `Path` object with an
unpopulated `info` attribute, rather than a `Path` object with information
recorded *prior* to the path's creation.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions