Guido van Rossum 142502ea8d
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
2024-02-20 20:24:35 +00:00
..

This directory contains a collection of executable Python scripts that are
useful while building, extending or managing Python.

checkpip.py               Checks the version of the projects bundled in ensurepip
                          are the latest available
combinerefs.py            A helper for analyzing PYTHONDUMPREFS output
divmod_threshold.py       Determine threshold for switching from longobject.c
                          divmod to _pylong.int_divmod()
idle3                     Main program to start IDLE
pydoc3                    Python documentation browser
run_tests.py              Run the test suite with more sensible default options
summarize_stats.py        Summarize specialization stats for all files in the
                          default stats folders
var_access_benchmark.py   Show relative speeds of local, nonlocal, global,
                          and built-in access