Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upNames not defined in list comprehension within function scope #769
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bpythonseems to be affected by the same issues asIPythonthat are described here: inducer/pudb#103For example, when debugging via
pudbandbpython:A very puzzling error.
Note that
globals().update(locals())is a temporary fix but it must be run manually every time I want access to a new local variable in a list comprehension, as described in this comment to the pudb issue linked above.