It would be nice to provide an API for iterating through all of an object's parents. It can be implemented using Acquisition.aq_chain
Nice to have: Provide a way to filter the parents for ones that implement a particular interface or match a predicate. Provide a way to get the closest parent that matches these filters (if any).
It would be nice to provide an API for iterating through all of an object's parents. It can be implemented using Acquisition.aq_chain
Nice to have: Provide a way to filter the parents for ones that implement a particular interface or match a predicate. Provide a way to get the closest parent that matches these filters (if any).