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
gh-134639: Clarify what "canonical" means in os.path.realpath
Improve documentation for os.path.realpath by clearly defining what a
"canonical path" means. The updated documentation now explicitly states
that a canonical path:
- Is an absolute path
- Has all symbolic links resolved
- Is normalized (redundant separators, '.' and '..' components removed)
Also clarify platform-specific behavior:
- On Windows: resolves MS-DOS (8.3) style names and junction points
- On POSIX: roughly equivalent to the system's realpath() function
Closes#134639
0 commit comments