Use importlib instead of imp in __bootstrap__ functions#2071
Merged
jaraco merged 1 commit intopypa:masterfrom Jun 22, 2020
alexhenrie:imp
Merged
Use importlib instead of imp in __bootstrap__ functions#2071jaraco merged 1 commit intopypa:masterfrom alexhenrie:imp
jaraco merged 1 commit intopypa:masterfrom
alexhenrie:imp
Conversation
jaraco
reviewed
May 3, 2020
jaraco
requested changes
Jun 21, 2020
Member
jaraco
left a comment
There was a problem hiding this comment.
Can you add a changelog entry please?
Contributor
Author
|
@jaraco Changelog entry added. |
jaraco
approved these changes
Jun 22, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When the PYTHONWARNINGS environment variable is set, I often see the message
DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative usesin conjuction with bootstrap files for compiled modules. This pull request fixes the code that triggers that warning.