Skip to content

bpo-37409: Fix ImportWarning regarding __spec__ and __package__ being None#16003

Merged
brettcannon merged 1 commit intopython:masterfrom
tirkarthi:bpo37409
Sep 12, 2019
Merged

bpo-37409: Fix ImportWarning regarding __spec__ and __package__ being None#16003
brettcannon merged 1 commit intopython:masterfrom
tirkarthi:bpo37409

Conversation

@tirkarthi
Copy link
Copy Markdown
Member

@tirkarthi tirkarthi commented Sep 11, 2019

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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

@bedevere-bot
Copy link
Copy Markdown

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