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 could be the new PyModule_GetFilenameObject() call added in the error path: in the execution of the line from _test_import_from_lib.lib import bar, the _test_import_from_lib.lib is not actually a standard module object. If that's correct, then there is nothing we can reasonably do in CFFI to prevent that bogus exception from showing up in this case. It must be fixed in CPython.
Since python/cpython#127775 landed in cPython's 3.13 branch,
TestNewFFI1.test_import_from_lib
has started to fail:This looks like a CPython regression. But the behaviour is rather subtle.
The text was updated successfully, but these errors were encountered: