Skip to content

User_expression issues #2654

Description

@Carreau

discoverd after question on list :

in notebook, dooin this in js :

IPython.notebook.kernel.execute('', 
{'execute_reply':function(data){console.log('data:',data)}}, 

{'user_expressions':
    {'foo':'a=1'}   # interesting part
}) 

result in

...
foo: "[ERROR] SyntaxError: invalid syntax (<string>, line 1)" 
...

in response.

1+1 does work, but more interesting things like !ls, get_ipython().system(u'ls') ... etc does not.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions