This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bennorth
Recipients
Date 2007-02-11.23:00:43
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Add syntax to allow easier access to attributes when
attribute name known only at run-time.  E.g., replace

   setattr(obj, attr_name, getattr(obj, attr_name) + 1)

with

   obj.(attr_name) += 1

For further discussion, see PEP 363 [PROVISIONAL NUMBER]
History
Date User Action Args
2007-08-23 15:56:32adminlinkissue1657573 messages
2007-08-23 15:56:32admincreate