summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2024-02-20 20:24:35 (GMT)
committerGitHub <noreply@github.com>2024-02-20 20:24:35 (GMT)
commit142502ea8d26b17732009b6e981e630c342054f7 (patch)
treeec422247c652811eb58ed555bfba2f03f957faac /Python/pythonrun.c
parent520403ed4cdf4890d63403c9cf01ac63233f5ef4 (diff)
downloadcpython-142502ea8d26b17732009b6e981e630c342054f7.zip
cpython-142502ea8d26b17732009b6e981e630c342054f7.tar.gz
cpython-142502ea8d26b17732009b6e981e630c342054f7.tar.bz2
Tier 2 cleanups and tweaks (#115534)
* Rename `_testinternalcapi.get_{uop,counter}_optimizer` to `new_*_optimizer` * Use `_PyUOpName()` instead of` _PyOpcode_uop_name[]` * Add `target` to executor iterator items -- `list(ex)` now returns `(opcode, oparg, target, operand)` quadruples * Add executor methods `get_opcode()` and `get_oparg()` to get `vmdata.opcode`, `vmdata.oparg` * Define a helper for printing uops, and unify various places where they are printed * Add a hack to summarize_stats.py to fix legacy uop names (e.g. `POP_TOP` -> `_POP_TOP`) * Define helpers in `test_opt.py` for accessing the set or list of opnames of an executor
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions