Skip to content
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

Recognise range type in isinstance #3040

Merged

Conversation

chrisnovakovic
Copy link
Contributor

range is a type of its own as of #3024, but isinstance doesn't know about it, so it's impossible to do type comparisons on range objects.

Fixes #3039.

`range` is a type of its own as of thought-machine#3024, but `isinstance` doesn't know
about it, so it's impossible to do type comparisons on `range` objects.

Fixes thought-machine#3039.
@chrisnovakovic chrisnovakovic merged commit c04ec52 into thought-machine:master Jan 12, 2024
14 checks passed
@chrisnovakovic chrisnovakovic deleted the isinstance-range branch January 12, 2024 09:34
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.

isinstance doesn't know about the range type
2 participants