pylint #82374 warning W0410 should be error [open]

Warning W0410 is raised whenever a 'from __future__ import' statement is preceded by other python statements.

However Python will flag an error and fail.

Therefore I suggest to promote this warning to an error:

Please look at following small python snippet
>
>
> # code starts
> a=3
> from __future__ import absolute_import
> print "will never see this"
> # code ends
>
>
> pylint 'just' reports a warning saying
> > > W0410: 2,0: __future__ import is not the first non docstring statement
>
>
>
> python 2.6.5 on the other hand will fail with a syntax error.
>
> > > $ python bla.py
> > > File "bla.py", line 2
> > > from __future__ import absolute_import
> > > SyntaxError: from __future__ imports must occur at the beginning of the file
>
>
>

prioritynormal
typebug
done in<not specified>
closed by<not specified>