[Python-Dev] python3k vs _ast

Benjamin Peterson benjamin at python.org
Wed Nov 17 14:36:37 CET 2010


2010/11/17 Oleg Broytman <phd at phd.pp.ru>:
> Seems to be rather a usage question, not a development question (python-dev
> is about *developing* python, not *using* it).

Well, technically I think it's a feature request.

>
> On Wed, Nov 17, 2010 at 01:48:06PM +0100, Emile Anclin wrote:
>> 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.

I wouldn't object to adding them back if you want to file a bug report.



-- 
Regards,
Benjamin


More information about the Python-Dev mailing list