Georg Brandl <[EMAIL PROTECTED]> added the comment:

Okay, I'm dropping the attribute restriction part.

Attaching new patch that allows creating nodes with fields (not
attributes) as positional arguments, and setting all keyword arguments
as attributes on self.

----------
title: Restrict attributes of _ast nodes -> Easier creation of _ast nodes
Added file: http://bugs.python.org/file9893/ast-constructor-v2.diff

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2505>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to