On Fri, Jan 2, 2009 at 1:36 PM, Paul McGuire <[email protected]> wrote:

> The example you cited of creating a thin derived class from object, for the
> simple purpose of supporting dynamically assigned attributes, sometimes goes
> by the name Bag, from the Smalltalk object framework.

Another variation is Bunch, though perhaps namedtuple() makes this obsolete:
http://code.activestate.com/recipes/52308/

Kent
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to