[issue26145] PEP 511: Add sys.set_code_transformers()

STINNER Victor report at bugs.python.org
Sat Jan 23 07:11:43 EST 2016


STINNER Victor added the comment:

> Note: ast.PyCF_TRANSFORMED_AST is not implemented yet.

Additionnal pycf_transformed_ast.patch implements it. The patch should be applied on top of transformers-4.patch.

Note: PyCF_TRANSFORMED_AST has the same value (0x1000) than the old constant CO_GENERATOR_ALLOWED. This constant was removed in Python 2.5.0 by the changeset 6b42920accc9 in 2006. Is it an issue?

----------
Added file: http://bugs.python.org/file41700/pycf_transformed_ast.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26145>
_______________________________________


More information about the Python-bugs-list mailing list