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
Commit 7848a9f
Browse filesBrowse the repository at this point in the historyBrowse files
gh-71199: Use os rather than posix or nt in the stdlib
shutil, pathlib, _pyrepl, _colorize and ctypes imported or guarded the
platform module for its private helpers; use them from os instead.
select imports _os. ntpath and posixpath import their fast paths from
_os; both are importable on every platform, so they still check it
first.
Tests follow: those that skipped without posix or nt now run everywhere
when they only needed _os (the ismount mocks), or check for the
Windows-only helper they exercise.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments