-
Notifications
You must be signed in to change notification settings - Fork 297
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
"__file__" variable not available in IPython after kernel restart #1373
Comments
Thanks for reporting it @alexbogun. That's a good catch. I could also repro it. |
Unfortunately the issue is back again, could we please reopen this? |
I'm reproing too. |
@rchiodo I don't believe this was in the point fix. Yeah, I don't see it in the release branch. I think this is fixed, but just not live for customers yet. I was validating from our main bits. |
Ah okay. Thanks. @alexbogun this will be fixed in our next stable release. |
Validated via the previous validation. Will be in the next release as mentioned. |
Environment data
python.languageServer
setting: JediExpected behaviour
__file__
variable is always defined in IPythonActual behaviour
__file__
variable is available when IPython first starts, but is not available after kernel restart.Reverting to version v2020.9.112786 fixes the problem
Steps to reproduce:
print(__file__)
The text was updated successfully, but these errors were encountered: