-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
bpo-34931: [doc] clarify behavior of os.path.splitext() on paths with multiple leading periods #30347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… multiple leading periods
Suggest changing "basename" to "root" for consistency with the rest of this function's documentation, and to avoid confusion with the unrelated |
Concur with @mhsmith. It is not even correct in case of multi-component path (the basename of See also my comments on BPO. |
Thanks @iritkatriel for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
GH-30368 is a backport of this pull request to the 3.10 branch. |
… multiple leading periods (pythonGH-30347) (cherry picked from commit 51700bf) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
GH-30369 is a backport of this pull request to the 3.9 branch. |
… multiple leading periods (pythonGH-30347) (cherry picked from commit 51700bf) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
https://bugs.python.org/issue34931