Skip to content

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

Merged
merged 1 commit into from
Sep 12, 2019

Conversation

tirkarthi
Copy link
Member

@tirkarthi tirkarthi commented Sep 11, 2019

Copy link
Contributor

@eamanu eamanu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tirkarthi
Copy link
Member Author

@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 ImportWarning on latest 3.8 and 3.7 branches too.

@miss-islington
Copy link
Contributor

Thanks @tirkarthi for the PR, and @brettcannon for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Thanks @tirkarthi for the PR, and @brettcannon for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-16084 is a backport of this pull request to the 3.7 branch.

@bedevere-bot
Copy link

GH-16085 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 13, 2019
miss-islington added a commit that referenced this pull request Sep 13, 2019
miss-islington added a commit that referenced this pull request Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants