Conf silently failing on Trait List without comma #2948

Closed
Carreau opened this Issue Feb 17, 2013 · 3 comments

Projects

None yet

4 participants

@Carreau
Owner
Carreau commented Feb 17, 2013

the following :

c.NotebookApp.extra_static_paths = [
    '/Users/bussonniermatthias/.ipython/profile_default/static/css_selector'  [missing comma]
    '/Users/bussonniermatthias/.ipython/profile_default/static'
    ]

act as

c.NotebookApp.extra_static_paths = [
    '/Users/bussonniermatthias/.ipython/profile_default/static/css_selector'
    ]

Without warning.

Contributor
rkern commented Feb 17, 2013

Does it? I would expect

c.NotebookApp.extra_static_paths = [
    '/Users/bussonniermatthias/.ipython/profile_default/static/css_selector/Users/bussonniermatthias/.ipython/profile_default/static'
    ]

But that's just the rules of regular Python syntax. There is nothing IPython can do about it.

Owner
Carreau commented Feb 17, 2013

Didn't had much time to look at what it did exactly.
Just saw that quickly and opened the issue to investigata later.

Owner
minrk commented Feb 17, 2013

I don't know what the issue is here.

[
  "hello "
  "there "
  "matthias"
]

is a valid Python way to express ["hello there matthias"].

@ellisonbg ellisonbg closed this Jan 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment