Skip to content

fix for os.path.splitroot on 3.13 #13034

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

Closed
wants to merge 6 commits into from
Closed

fix for os.path.splitroot on 3.13 #13034

wants to merge 6 commits into from

Conversation

tungol
Copy link
Contributor

@tungol tungol commented Nov 18, 2024

Possibly this should get the same treatment as os.path.join, where it's marked as positional-only for the sake of consistency.

@tungol tungol marked this pull request as draft November 18, 2024 08:30
@tungol
Copy link
Contributor Author

tungol commented Nov 18, 2024

Confusing stubtest result on windows 3.13. Will follow up more later.

This comment has been minimized.

Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@AlexWaygood
Copy link
Member

Thanks! However, this will be fixed on the next patch release of Python 3.13: python/cpython#124919. So I don't think there's any need to change the stubs here.

@tungol
Copy link
Contributor Author

tungol commented Nov 18, 2024

aha, that's better then.

@tungol tungol closed this Nov 18, 2024
@tungol tungol deleted the os branch November 18, 2024 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants