Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-87115: Set__main__.__spec__ toNone in pdb#116141
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
gaogaotiantian commentedFeb 29, 2024
Hey@iritkatriel could you take a quick look at this? This is a trivial fix - just to set |
Thanks@gaogaotiantian for the PR, and@iritkatriel for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry,@gaogaotiantian and@iritkatriel, I could not cleanly backport this to |
Sorry,@gaogaotiantian and@iritkatriel, I could not cleanly backport this to |
gaogaotiantian commentedFeb 29, 2024
I'll work on the cp. I thought the fix is trivial enough so there should not be any conflicts. |
(cherry picked from commitccfc042)
…onGH-116141)(cherry picked from commitccfc042)Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
GH-116154 is a backport of this pull request to the3.12 branch. |
GH-116155 is a backport of this pull request to the3.11 branch. |
(cherry picked from commitccfc042)
…onGH-116141)(cherry picked from commitccfc042)Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
Uh oh!
There was an error while loading.Please reload this page.
__main__.__spec__should beNonewhen running a script, butpdbdoes not set it in the namespace. This breaks some code that relies on it (that__spec__exists in__main__).