traitlets
traitlets copied to clipboard
A lightweight Traits like module
PEP 487
This is not really an issue, but I wasn't sure where to post it. With [PEP 487](https://www.python.org/dev/peps/pep-0487/) accepted into Python 3.6, it might be worth thinking about how traitlets can...
Declaring traits as classes instead of instances is deprecated following https://github.com/ipython/traitlets/pull/51. We should add this to the migration notes: http://traitlets.readthedocs.io/en/stable/migration.html
`link` and `dlink` are good for simple uses, but lack certain features 1) They are not compatible with `Output` widgets, making debugging a lot harder, see https://github.com/jupyter-widgets/ipywidgets/issues/2306 2) They contain...
Hi there, thanks for making a light weight python implementation of the traitlets feature. One of the feature I love in original Triats4 is the Caced_property and depends_on decorator... http://docs.enthought.com/traits/traits_user_manual/advanced.html#caching-a-property-value...
IMHO; empty sets should be written as `set([])` (not `set()`), since when you later add some values, it is easy to forget adding the `[]`. Yes, you can also use...
It seems to me that in both the current release and the master version (where the code has been moved to emit_alias_help), the case where an alias refers to a...
Using a naked `except:` captures `BaseExeption`, which includes `KeyboardException`: Happens in many places in `traitlets.traitlets.py` and one more in `loader.py`: https://github.com/ipython/traitlets/blob/d07d70d81e82f655ac36841415721d5246876538/traitlets/config/loader.py#L986-L989
## Problem As currently implemented (till 5.x), subapps are actually constructed in `ìnitialize_subcommands()` by invoking `SingletonConfigurable.instance()`. And that makes sense, to make it easily to locate a command instance, regardless...
Actually the results of using `copy()` on a `Hastrait` with [borged](https://www.google.it/search?q=python+borg) trait values: ```python from copy import copy class C(HasTraits): a = Int() c = C(a=1) copy(c).a = 2 assert...
This simple code below on latest sources invokes `TraitType.validate()` twice. Beside a performance issue, this behavior forbids complex "converting" traits because the input value might be converted twice. ```python import...