Benjamin Peterson <benja...@python.org> added the comment:
If you fully compiled this code, it would fail. CPython checks the well-formedness of __future__ statements after ast parsing. ---------- resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue22606> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com