◐ Shell
clean mode source ↗

[WIP] bpo-26145: Implement PEP 511, code transformer by vstinner · Pull Request #2355 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

* Add -o command line option: value stored into a new
  sys.implementation.optim_tag attribute
* -o noopt now disables the peephole optimizer
* Add get_code_transformers() and set_code_transformers() functions
  to the sys module
* Add PyCF_TRANSFORMED_AST compiler flag
* Add test_code_transformer unit tests
* Change how importlib generated the .pyc filename: it now also uses
  the sys.implementation.optim_tag
* Add _PySys_CodeTransformer structure