Items inheriting attributes from its container?

Christian Heimes lists at
Sun Aug 23 01:14:03 CEST 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!


More information about the Python-list mailing list