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
Changed in version 3.4: Module specs were introduced in Python 3.4, by PEP 451. Earlier versions of Python looked for a method called find_module(). This is still called as a fallback if a meta_path entry doesn’t have a find_spec() method.
thriftpy is using find_module and this is removed in python/cpython#98040, so import hook does not work in Python 3.12
The text was updated successfully, but these errors were encountered:
According to sys.meta_path's document:
thriftpy is using
find_module
and this is removed in python/cpython#98040, so import hook does not work in Python 3.12The text was updated successfully, but these errors were encountered: