New submission from Nathan Shain <nat...@rookout.com>:
I'm trying to develop C++ Extension that needs to access the new line table. I have a call to PyLineTable_InitAddressRange in my extension. After compiling, "_PyLineTable_InitAddressRange" symbol is undefined in the .so (which is ok so far). When importing the extension, it fails with this error: ImportError: /usr/foo/foo.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyLineTable_InitAddressRange Obviously python isn't exporting this symbol, and making the dlopen fail I'd make a PR with a fix, but I'm not sure which approach is appropriate ---------- components: C API messages: 412237 nosy: nathan3 priority: normal severity: normal status: open title: PyLineTable_InitAddressRange isn't exported - causing C Extensions to fail at import versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46596> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com