Skip to content

Conversation

BobTheBuidler
Copy link
Contributor

This PR adds support for constant folding inside of translate_ord

Copy link
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does constant_fold_expr fold BytesExpr?

@BobTheBuidler
Copy link
Contributor Author

The mypyc version does, the mypy version does not

@hauntsaninja hauntsaninja merged commit 1b8841b into python:master Oct 2, 2025
13 checks passed
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