Recursion support for observe? #1339
Labels
component: core
Issues related to the core library
resolution: rejected
The proposed change will not be implemented
topic: traits listener rework
Issues related to reworking listener infrastructure; see also EEP2, EEP3
type: discussion
type: enhancement
Currently
observe
does not support the recursive pattern*
that is supported inon_trait_change
.This issue is open for discussion whether there are enough use cases to extend the recursion support to
observe
.I found one potential use case, that would be for solving enthought/apptools#194 where the notification machinery is reacting to changes to any traits on a subclass and the structure of the traits is not known by the base class.
An experimental implementation for the support can be found here: #1242
The text was updated successfully, but these errors were encountered: