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
Now that we can import using importlib I would like to remove the old import (import::import_module). The problem is that some of the modules that use the old import are needed for importlib import to work (_io, _thread). For example in io_open we import io using the old import so we can create an instance of FileIO. We can't use the new import as in that phase it is not initialized yet.
How do you think we should solve this problem? Should we remove all use of import in the modules used by importlib? This will require us to have a struct that implements PyValue for every class.
The text was updated successfully, but these errors were encountered:
Now that we can import using
importlib
I would like to remove the old import (import::import_module
). The problem is that some of the modules that use the old import are needed forimportlib
import to work (_io
,_thread
). For example inio_open
we importio
using the old import so we can create an instance ofFileIO
. We can't use the new import as in that phase it is not initialized yet.How do you think we should solve this problem? Should we remove all use of
import
in the modules used byimportlib
? This will require us to have a struct that implementsPyValue
for every class.The text was updated successfully, but these errors were encountered: