[issue10588] imp.find_module raises unexpected SyntaxError

2010-11-30 Thread Emile Anclin
New submission from Emile Anclin : Considering following file: $ cat pylint/test/input/func_unknown_encoding.py # -*- coding: IBO-8859-1 -*- """ check correct unknown encoding declaration """ __revision__ = '' $ When we try to find that mo

[issue10445] _ast py3k : add lineno back to "args" node

2010-11-17 Thread Emile Anclin
New submission from Emile Anclin : For Python3x, in the tree generated by _ast, for the "args" node (representing an argument of a function), the "lineno" (and the "col_offset") information disappeared from those nodes. It would be nice to have them