mirror of
https://github.com/python/cpython.git
synced 2026-06-29 04:10:54 +00:00
Move the compile-time optimizations (_optimize_charset, _compile_charset, _simple, _compile_info and the literal/charset prefix helpers) out of _compiler.py into a new Lib/re/_optimizer.py. _compiler.py keeps only the bytecode emitter and imports them. This is groundwork for a follow-up optimization; there is no behavior change. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _casefix.py | ||
| _compiler.py | ||
| _constants.py | ||
| _optimizer.py | ||
| _parser.py | ||