-
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
Recommend renaming python file if python file it overwrites builtins #8195
Comments
DonJayamanne
added
the
bug
Issue identified by VS Code Team member as probable bug
label
Nov 5, 2021
Solution:
This is could be the start of kernel doctor |
DonJayamanne
added
kernel-crash
and removed
needs-triage
bug
Issue identified by VS Code Team member as probable bug
labels
Nov 5, 2021
This was referenced Nov 5, 2021
DonJayamanne
changed the title
Recommend deleting python file if python file overwrites builtins
Recommend renaming python file if python file it overwrites builtins (recommend not using reserved names)
Nov 5, 2021
DonJayamanne
changed the title
Recommend renaming python file if python file it overwrites builtins (recommend not using reserved names)
Recommend renaming python file if python file it overwrites builtins
Nov 5, 2021
19 tasks
32 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We find that a lot of users run into this when creating python files using reserved names like
sys.py/os.py/random.py
.As a result Python runtime will import the user defined files and it could fall over.
Solution:
If kernel startup fails and we detect such a scenario then recommend renaming that file.
The text was updated successfully, but these errors were encountered: