Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

GH-115687: Most comparisons create Booleans, so propagate that information #116360

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

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Mar 5, 2024

Propagate the minimal type information for COMPARE_OP specializations, IS_OP and CONTAINS_OP.

This PR doesn't do any constant propagation, that's for another PR.

@markshannon markshannon changed the title GH_115687: Most comparisons create Booleans, so propagate that information GH-115687: Most comparisons create Booleans, so propagate that information Mar 5, 2024
@markshannon markshannon merged commit 33c0aa3 into python:main Mar 6, 2024
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 25, 2024
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
@markshannon markshannon deleted the compare-op-boolean branch August 6, 2024 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.