Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Bug description:
cffi'sTestNewFFI1.test_import_from_lib started failing with:
>from_test_import_from_lib.libimportbarETypeError:badargumenttypeforbuilt-inoperation
This is where_test_import_from_lib is a CFFI C extension, which does not contain a memberlib.bar. So in this case_test_import_from_lib.lib probably doesn't have an origin.
More details here:python-cffi/cffi#150
The offending change seems to be the introduction ofPyModule_GetFilenameObject in#127775. (@hauntsaninja,@serhiy-storchaka)
CPython versions tested on:
3.13
Operating systems tested on:
Linux