[WIP] bpo-26145: Implement PEP 511, code transformer by vstinner · Pull Request #2355 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters