[IPython-dev] traitlets question [from Re: msg spec]

Satrajit Ghosh satra at mit.edu
Tue Apr 17 22:27:04 EDT 2012


> > I've been using traitlets to do the message validation, and I'm running
> into
> > the fact that we are unclear about what keys can be None and what cannot.
> >  Should I start with the assumption that *anything* can be None, or not?
>
> I think that's a reasonable starting point. Once the tests are in
> solid shape we can revisit this and go over the spec/implementation
> more carefully.
>

question out of not following the traitlets code. a long while back it was
deemed that traitlets needed to have every element defined. is that no
longer necessary? i.e could a trait be undefined (or set to None).

and to follow up, does traitlets have event delegation?

cheers,

satra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20120417/07666e82/attachment.html>


More information about the IPython-dev mailing list