# Bug report ### Bug description: cffi's `TestNewFFI1.test_import_from_lib` started failing with: ```python > from _test_import_from_lib.lib import bar E TypeError: bad argument type for built-in operation ``` This is where `_test_import_from_lib` is a CFFI C extension, which does not contain a member `lib.bar`. So in this case `_test_import_from_lib.lib` probably doesn't have an origin. More details here: https://github.com/python-cffi/cffi/issues/150 The offending change seems to be the introduction of `PyModule_GetFilenameObject` in #127775. (@hauntsaninja, @serhiy-storchaka) ### CPython versions tested on: 3.13 ### Operating systems tested on: Linux <!-- gh-linked-prs --> ### Linked PRs * gh-128047 * gh-128114 <!-- /gh-linked-prs -->