[Python-Dev] python3k vs _ast
Emile Anclin
emile.anclin at logilab.fr
Wed Nov 17 13:48:06 CET 2010
hello everybody,
migrating Pylint to python3.x, we encounter a little problem :
in the tree generated by _ast, if we consider a "args" node (representing
an argument of a function), the "lineno" (and the "col_offset")
information disappeared from those nodes. Is there a particular
reason for that ? In python2.x, the "args" nodes were just "Name" nodes,
and as for now we keep them as "AssName" nodes in astng/pylint and would
like to know where it was defined.
thx for any information
--
Emile Anclin <emile.anclin at logilab.fr>
http://www.logilab.fr/ http://www.logilab.org/
Informatique scientifique & et gestion de connaissances
More information about the Python-Dev
mailing list