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
os.path.exists and lexists no longer allow a keyword argument on Windows #124917
Historically os.path.exists and os.path.lexists have accepted their argument as a keyword, path=. However, in 3.13 on Windows (#118755) these functions were reimplemented in C and the C functions only accept a positional argument. This was detected by typeshed CI (python/typeshed#12730).
Probably doesn't have a lot of practical effect (why would you use keyword arguments for these functions?), but it's better to keep this consistent. I'll send a PR.
Activity
gh-124917: Allow keyword args to os.path.exists/lexists on Windows (#…
[3.13] pythongh-124917: Allow keyword args to os.path.exists/lexists …
[3.12] pythongh-124917: Allow keyword args to os.path.exists/lexists …
[3.13] gh-124917: Allow keyword args to os.path.exists/lexists on Win…
[3.12] gh-124917: Allow keyword args to os.path.exists/lexists on Win…
nineteendo commentedon Oct 12, 2024
Can you close this?