[pypy-issue] [issue937] No error if "from __future__" imports are not at beginning of file

Benjamin Peterson tracker at bugs.pypy.org
Wed Nov 23 23:27:23 CET 2011


Benjamin Peterson <benjamin at python.org> added the comment:

This is an implementation detail. If you remove the invalid syntax, then PyPy
will report the future import is too far down. It's simply that PyPy sees the
invalid syntax first.

----------
nosy: +benjamin
status: unread -> wontfix

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue937>
________________________________________


More information about the pypy-issue mailing list