-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fix builtins so they don't interfere with our execution #10511
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10511 +/- ##
==========================================
- Coverage 60.86% 60.83% -0.03%
==========================================
Files 579 579
Lines 31294 31296 +2
Branches 4451 4452 +1
==========================================
- Hits 19046 19040 -6
- Misses 11285 11290 +5
- Partials 963 966 +3
Continue to review full report at Codecov.
|
else: | ||
del _VSCode_supportsDataExplorer | ||
_VSCODE_evalResult = eval(_VSCODE_targetVariable["name"]) | ||
_VSCODE_evalResult = _VSCODE_builtins.eval(_VSCODE_targetVariable["name"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also use builtins in VariableList and VariableValue. I'd think it would be safer to do the same thing in those files as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those files aren't used anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could just delete them I guess.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually they're still used to get variables in our ipython tests. But they don't need the update. They're just used to test the other two files. Maybe I should move them instead to the test directory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's true, I forgot they were not used anymore. Just saw them when searching for other builtins.
Kudos, SonarCloud Quality Gate passed!
|
* master: Fix flakey file system tests (#10541) Tweaks for gather (#10532) Fix #10437: Update launch.json handling to support "listen" and "connect" (#10517) Add conda support to nightly flake test (#10523) Rename datascience to datascience_modules (#10525) Clean up the extension activation code. (#10455) Allow escape and ctrl+U to clear the interactive window (#10513) Fix builtins so they don't interfere with our execution (#10511) Jupyter autocompletion will only show up on empty lines, (#10420) notify on missing kernel and interpreter with kernel (#10508)
For #10280