Skip to content

Conversation

@BobTheBuidler
Copy link
Contributor

This PR builds off of #19884 to implement constant folding for str.format, which is only quasi-useful by itself but when combined with 19884 allows us to constant fold f-strings.

@BobTheBuidler BobTheBuidler changed the title feat: implement constant folding for str.format feat: implement constant folding for str.format and f-strings Sep 18, 2025
@github-actions

This comment has been minimized.

@BobTheBuidler

This comment was marked as resolved.

@github-actions

This comment has been minimized.

@BobTheBuidler BobTheBuidler changed the title feat: implement constant folding for str.format and f-strings feat: implement constant folding for str.format and f-strings [2/3] Oct 1, 2025
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@BobTheBuidler BobTheBuidler marked this pull request as draft October 1, 2025 23:23
@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of 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.

1 participant