Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
"global name is not defined" from `embed` with nested list comprehension #10695
Comments
bluenote10
commented
Jul 11, 2017
|
Another search has brought up #8918, not clear why it's closed though. |
|
See also #62. There's a limitation of executing Python code in a local namespace, which we haven't found a good way to work around. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bluenote10 commentedJul 11, 2017
The following code is valid Python and works fine from a stand-alone IPython shell, but fails from within an
IPython.embed: