[issue7659] Attribute assignment on object() instances raises wrong exception
Nick Coghlan
report at bugs.python.org
Thu Jan 27 05:18:22 CET 2011
Nick Coghlan <ncoghlan at gmail.com> added the comment:
Along the lines of RDM's last post, see:
http://code.activestate.com/recipes/52308-the-simple-but-handy-collector-of-a-bunch-of-named/
Or, if you do a few web searches for terms like "bethard coghlan namespaces" or "bethard generic objects" you'll get results along the lines of:
http://mail.python.org/pipermail/python-list/2005-February/305129.html
collections.namedtuple is a simpler alternative to most of these ideas, though.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7659>
_______________________________________
More information about the Python-bugs-list
mailing list