[IPython-dev] [IPython-user] IPython development news and prospects
Ville M. Vainio
vivainio at gmail.com
Wed Jan 16 03:23:48 EST 2008
On Jan 15, 2008 9:11 PM, Fernando Perez <fperez.net at gmail.com> wrote:
> The idea is to write a very lightweight, Traits-like module that does
> only a fraction of what Traits does, but does so with 100% api
> compatibility within that subset. Basically we'd only implement
>
> - Validation of types (probably only for a very small subset of types
> like strings, numbers and lists)
> - Simple registration of callbacks (listeners), so that changes to
> configuration can trigger the appropriate callbacks to update other
> things.
Isn't this rather easy to hack into current "Struct" class? See
ipstruct.py / Struct.__setitem__
--
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'
More information about the IPython-dev
mailing list