Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
The problem is that 'from __future__ import' is parsed after converting the sources to the AST. But this flag affects the behavior of the tokenizer, before an AST is created. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34084> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com