Skip to content

fix for os.path.splitroot on 3.13#13034

Closed
tungol wants to merge 6 commits into
python:mainfrom
tungol:os
Closed

fix for os.path.splitroot on 3.13#13034
tungol wants to merge 6 commits into
python:mainfrom
tungol:os

Conversation

@tungol

@tungol tungol commented Nov 18, 2024

Copy link
Copy Markdown
Contributor

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

tungol commented Nov 18, 2024

Copy link
Copy Markdown
Contributor Author

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

@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown
Contributor

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

@AlexWaygood

Copy link
Copy Markdown
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

tungol commented Nov 18, 2024

Copy link
Copy Markdown
Contributor Author

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