Georg Brandl [EMAIL PROTECTED] added the comment:
Committed in r62049.
--
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2505
__
___
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
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Looks fine to me. It might be reasonable to further restrict the
constructor to either 0 or len(_fields) arguments.
--
assignee: loewis - georg.brandl
resolution: - accepted
__
Tracker [EMAIL