These are chat archives for ipython/ipython

19th
Jun 2015
Thomas Kluyver
@takluyver
Jun 19 2015 20:05
@minrk @SylvainCorlay (and anyone else who's interested): I'm planning to release traitlets 4.0 now. We are at 0 open issues and PRs, and I haven't heard of any new problems since the last change a couple of days ago. Is there anything else you want to bring up or check before I make a release?
Matthias Bussonnier
@Carreau
Jun 19 2015 20:05
Want to release a Beta just in case ?
Thomas Kluyver
@takluyver
Jun 19 2015 20:07
I could do, but since as far as we know there's no-one relying on older versions of traitlets, I was planning to just put it out there as 4.0 and then do bugfix releases if we need them.
Sylvain Corlay
@SylvainCorlay
Jun 19 2015 20:08
I can't think of anything at the moment that is blocking. I thought of a once version of the on_trait_change.
Although clearly not blocking.
Matthias Bussonnier
@Carreau
Jun 19 2015 20:09
well, more functionality is not backward incompatible.
Release. Release. Release. Release
Release. Release. Release. Release
Release. Release. Release. Release (with flit)
Release. Release. Release. Release
Release. Release. Release. Release
Release. Release. Release. Release (with flit)
Release. Release. Release. Release
Release. Release. Release. Release
Release. Release. Release. Release
Sylvain Corlay
@SylvainCorlay
Jun 19 2015 20:09
:+1:
Thomas Kluyver
@takluyver
Jun 19 2015 20:31
OK, traitlets 4.0 is out. On a Friday afternoon, just as is traditional.
Jonathan Frederic
@jdfreder
Jun 19 2015 20:34
lol
Jason Grout
@jasongrout
Jun 19 2015 20:35
good thing we work over the weekend :)
Min RK
@minrk
Jun 19 2015 21:31
I'm in a meeting, and just saw this. Great, thanks @takluyver and @SylvainCorlay!
Wolfgang Kerzendorf
@wkerzendorf
Jun 19 2015 22:28
How do I access the global engine namespace without using @interactive decorator?
in ip parallel
Ryan Morshead
@rmorshea
Jun 19 2015 23:06
Have you considered including Callable class for traitlets?
something like:
class Callable(TraitType):
    """A trait which is callable.

    Note that classes are callable, as are instances
    with a __call__() method."""

    info_text = 'a callable'

    def validate(self, obj, value):
        if six.callable(value):
            return value
        else:
            self.error(obj, value)
Jonathan Frederic
@jdfreder
Jun 19 2015 23:21
@SylvainCorlay @minrk (see @rmorshea 's question)
Min RK
@minrk
Jun 19 2015 23:57
@rmorshea we haven't, but you can ship your own traitlets in your own packages, if you want to use any not provided in the package.
Also, the builtin callable is available on every Python we support. No need for six.
@wkerzendorf The interactive namespace is sys.modules['__main__']