Skip to content

Use importlib.util.find_spec to replace pkgutil.find_loader#482

Merged
sergeyklay merged 1 commit intojoke2k:developfrom
wongcht:479-support-python3.12
Aug 27, 2023
Merged

Use importlib.util.find_spec to replace pkgutil.find_loader#482
sergeyklay merged 1 commit intojoke2k:developfrom
wongcht:479-support-python3.12

Conversation

@wongcht
Copy link
Copy Markdown

@wongcht wongcht commented Aug 27, 2023

Aim: suppress the warning in #479

importlib.util.find_spec is available from python 3.4, so it is compatible with python 3.6+

@sergeyklay sergeyklay self-requested a review August 27, 2023 21:09
@sergeyklay sergeyklay self-assigned this Aug 27, 2023
@sergeyklay sergeyklay added the enhancement New feature or request label Aug 27, 2023
@sergeyklay sergeyklay merged commit 638720c into joke2k:develop Aug 27, 2023
@sergeyklay
Copy link
Copy Markdown
Collaborator

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants