-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Fix DeprecationError from ModuleSpec.loader.load_module
in Red.load_extension
#5956
base: V3/develop
Are you sure you want to change the base?
Conversation
We currently have some other plans for changes to the import system (related to #2446) so I'm going to mark this as Blocked for now and we will see if it's still needed once we either make those changes or decide to defer them. |
5315a95
to
0a5aa94
Compare
Sorry, closed by accident because of conflicts 😅 |
ModuleSpec.loader.load_module
in Red.load_extension
Recently found a bug, apparently if you load warnings ( |
Fixed! |
Description of the changes
This PR changes
load_module
inRed.load_extension
toexec_module
to give support for Python 3.12Have the changes in this PR been tested?
Yes