-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-37409: Fix ImportWarning regarding __spec__ and __package__ being None #16003
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
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.
LGTM
@brettcannon I think this can be backported to 3.8 and 3.7 too given the warning was added in 63b8505 (3.5) and the original test was backported to 3.8 and 3.7 too. I can confirm the |
Thanks @tirkarthi for the PR, and @brettcannon for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7. |
Thanks @tirkarthi for the PR, and @brettcannon for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
GH-16084 is a backport of this pull request to the 3.7 branch. |
GH-16085 is a backport of this pull request to the 3.8 branch. |
…ythonGH-16003) (cherry picked from commit 6e1a30b) Co-authored-by: Xtreak <[email protected]>
…H-16003) (cherry picked from commit 6e1a30b) Co-authored-by: Xtreak <[email protected]>
…H-16003) (cherry picked from commit 6e1a30b) Co-authored-by: Xtreak <[email protected]>
https://bugs.python.org/issue37409