Skip to content

Conversation

@hauntsaninja
Copy link
Collaborator

@hauntsaninja hauntsaninja commented Feb 1, 2026

I noticed this while improving mypy's reachability analysis in python/mypy#20660 (because the type of validator is wrong, mypy would think some code is unreachable)

Source: https://github.com/python-jsonschema/jsonschema/blob/c4f8b68cb0b826fcb770c28b5296dacfbca1367c/jsonschema/exceptions.py#L58 I also checked some downstream uses of it

hauntsaninja and others added 2 commits January 31, 2026 22:02
I noticed this while improving mypy's reachability analysis in python/mypy#20660 (because the type of validator is wrong, mypy would think some code is unreachable)
@github-actions
Copy link
Contributor

github-actions bot commented Feb 1, 2026

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

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