-
Notifications
You must be signed in to change notification settings - Fork 294
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
Warn users when files override built in packages that could have caused the kernel to fail #7538
Labels
bug
Issue identified by VS Code Team member as probable bug
notebook-execution
Kernels issues (start/restart/switch/execution, install ipykernel)
verified
Verification succeeded
Milestone
Comments
DonJayamanne
added
bug
Issue identified by VS Code Team member as probable bug
enhancement
and removed
bug
Issue identified by VS Code Team member as probable bug
labels
Sep 15, 2021
We've seen many users run into problems due to this issue. It affects us more than plain Python files. |
greazer
added
notebook-execution
Kernels issues (start/restart/switch/execution, install ipykernel)
kernel-crash
labels
Oct 8, 2021
6 tasks
greazer
added
feature-request
Request for new features or functionality
and removed
enhancement
labels
May 4, 2022
DonJayamanne
changed the title
Create a diagnostic utility to warn users of file names using reserved names (built in modules)
Warn users when files override built in packages that could have caused the kernel to fail
Jul 14, 2022
DonJayamanne
added
bug
Issue identified by VS Code Team member as probable bug
and removed
feature-request
Request for new features or functionality
labels
Jul 14, 2022
This was referenced Jul 25, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bug
Issue identified by VS Code Team member as probable bug
notebook-execution
Kernels issues (start/restart/switch/execution, install ipykernel)
verified
Verification succeeded
We still have a large number of users running into issues resulting from creating files such as
string.py
,email.py
,os.py
,sys.py
etcI think in the past 3 weeks we had 3 users running into this issue.
This causes a lot of issues, kernel don't start or when packages get imported dynamically kernels behave weirdly.
Solution:
help('modules')
to get a list of all built in modules)This should also help Python extension, but not sure it matters as much for Python extension.
The text was updated successfully, but these errors were encountered: