Skip to content

Conversation

@tungol
Copy link
Contributor

@tungol tungol commented Nov 12, 2024

Related to:
python/cpython#126706
#11269

Switching PathLike from abc.ABC to abc.ABCMeta wasn't accepted (reasonably so), so I'm wondering what happens to mypy-primer if we do this.

@github-actions

This comment has been minimized.

@tungol
Copy link
Contributor Author

tungol commented Nov 12, 2024

Seems okay? If I'd realized this would work in the first place, I wouldn't have proposed changing the inheritance of os.PathLike. I guess I just assumed there was some deeper issue that prevented this.

@tungol tungol changed the title The three protocol-like ABCs outside of collections.abc inherit from ABC directly The four protocol-like ABCs outside of collections.abc inherit from ABC directly Nov 13, 2024
@github-actions
Copy link
Contributor

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

@srittau srittau merged commit f554f54 into python:main Nov 16, 2024
63 checks passed
@tungol tungol deleted the proto-abc branch November 16, 2024 21:42
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