-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gf shell is not passing python globals into user defined functions #435
Comments
The origin of this bug is really here: ipython/ipython#13966 |
As a workaround, I recommend using
|
Another (horrible) workaround that can be done inside
The truly horrible thing is that you have to call |
It seems that this is an ancient ipython bug: ipython/ipython#62 We're running into it because ipython/ipython#13966 was not fixed. |
I think our solution may be to use
|
This appears only to be an issue in
2024.0.0
and2024.0.1
.For instance, open
gf shell
and paste this code:This fails with a
NameError: name 'time' is not defined
error.The text was updated successfully, but these errors were encountered: