STINNER Victor added the comment: > @haypo, how do you think about ast.Lit and ast.Constant?
I already made two changes in Python 3.6 :-) I added ast.Constant to Python 3.6. While it's not used by .py=>AST compiler, it is understood by the AST->bytecode compiler (ex: handle correctly special cases like docstrings). https://docs.python.org/dev/whatsnew/3.6.html#ast => issue #26146 Moreover, I also modified the format of the co_lnotab structure to support negative line number delta. So a code transformer can move instructions and preserve the Python traceback feature. https://docs.python.org/dev/whatsnew/3.6.html#changes-in-the-python-api => see the PEP 511 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11549> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com