Skip to content

Conversation

@BobTheBuidler
Copy link
Owner

Summary

  • add ASCII format op handling for !a and %a in mypyc formatting fast paths
  • expose ascii() as a primitive op for codegen
  • extend irbuild tests for %a and constant-folded !a

Testing

  • PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 python3 -m pytest -o addopts= mypyc/test/test_irbuild.py -k "StringFormattingCStyle or ConstantFoldFormatArgs"

@BobTheBuidler BobTheBuidler merged commit f910a54 into master Jan 18, 2026
1 of 15 checks passed
@BobTheBuidler BobTheBuidler deleted the ascii-format-fastpath branch January 18, 2026 14:19
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