Monkey patching new style classes

David Coffin dcoffin at gmail.com
Thu Nov 29 06:59:49 EST 2007


Is it possible to add an attribute to a new style class where the name of
that attribute is determined at runtime? In other words, is there an new
style class alternative to adding items to a classes __dict__ ?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20071129/e658b0cd/attachment.html>


More information about the Python-list mailing list