You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pathlib.Path.copy() can copy a directory into itself via absolute paths or symlinks #154690
Path.copy() guards against copying a directory into itself with ensure_distinct_paths(), but the check is lexical only. Relative vs absolute paths and symlink aliases bypass it.
Activity
pythongh-154690: Add news entry
pythongh-154690: Narrow ensure_distinct_paths() resolve() exception h…
pythongh-154690: Test ensure_distinct_paths() fallback when resolve()…
pythongh-154690: Narrow ensure_distinct_paths() resolve() exception h…
pythongh-154690: Narrow ensure_distinct_paths() resolve() exception h…