[IPython-dev] App's, Components and refactoring

Brian Granger ellisonbg.net@gmail....
Wed Jul 29 16:10:42 CDT 2009


> I meant that a decorator could be used to provide dynamic
> notifications. The decorator might return a callable class that calls
> the original method, and then the callable class iterates through the
> list of callables that were registered with it using
> component.add_notification().
>

Ahh, yes this would work well for methods.  But obviously wouldn't work with
attributes.

Cheers,

Brian


>
> Darren
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20090729/79a00685/attachment-0001.html 


More information about the IPython-dev mailing list