Skip to content

PurePath is not a PathLike subclass #11098

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 1 commit into from
Closed

Conversation

tungol
Copy link
Contributor

@tungol tungol commented Dec 4, 2023

It matches the protocol, but it's not an explicit subclass. As far as I can see, it seems okay to just remove that.

related to #3968

It matches the protocol, but it's not an explicit subclass. As far
as I can see, it seems okay to just remove that.

related to python#3968

This comment has been minimized.

@tungol
Copy link
Contributor Author

tungol commented Dec 4, 2023

oh, I think I misunderstood the situation. I missed that it's registered to the ABC, even though it's not in the MRO. That's probably intended as-is then?

@tungol tungol closed this Dec 4, 2023
@tungol tungol reopened this Dec 4, 2023
@tungol tungol closed this Dec 4, 2023
Copy link
Contributor

github-actions bot commented Dec 4, 2023

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

@tungol tungol deleted the purepath branch December 4, 2023 19:22
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.

1 participant