Items inheriting attributes from its container?

Christian Heimes lists at cheimes.de
Sat Aug 22 19:14:03 EDT 2009


Kreso schrieb:
> I would like to create a list-like container class so that, additionally
> to usual list methods, I could attach attributes to the container instances.
> However, I would like it so that the items contained in the particular
> instance of container somehow 'inherit' those attributes i.e.

The Python web application framework Zope implements the feature under 
the name "acquisition". Happy Googling!

Christian




More information about the Python-list mailing list