You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that _import_module() works much more like Unpickler.find_class() than like importlib.import_module()
Unfortunately there are a lot of undocumented non-public functions in dill. However, you can see from the code that it does import the module (or submodule), so it's an appropriate name... it's just not the dill equivalent of importlib.import_module().
Yes, it seems that there are places where using importlib.import_module() is more appropriate than _import_module().
Take a look at this listing, it doesn't look right:
I think we should compare the API and implementation of this function with the ones of pickle._Unpickler.find_class(), importlib.import_module() and even logging.config._resolve() that I recently found out.
Take a look at this listing, it doesn't look right:
I think we should compare the API and implementation of this function with the ones of
pickle._Unpickler.find_class()
,importlib.import_module()
and evenlogging.config._resolve()
that I recently found out.Originally posted by @leogama in #529 (comment)
The text was updated successfully, but these errors were encountered: