Skip to content

Replace deprecated load_module by exec_module#741

Open
YouJiacheng wants to merge 1 commit intoopenai:masterfrom
YouJiacheng:patch-2
Open

Replace deprecated load_module by exec_module#741
YouJiacheng wants to merge 1 commit intoopenai:masterfrom
YouJiacheng:patch-2

Conversation

@YouJiacheng
Copy link

load_module is deprecated since python 3.6.
New implementation is based on https://docs.python.org/3/library/importlib.html#importing-a-source-file-directly

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant