Antoine Pitrou <pit...@free.fr> added the comment:
Why do you call this a bug? For me it's the reverse: it's linking to libpython.so which is a bug. It means a C extension compiled with a shared-library Python cannot be imported on a monolithic Python (which doesn't have libpython.so). It's a real problem when you want to redistribute compiled C extensions: if you compile it on RedHat/CentOS, it won't work on Ubuntu/Debian (the reverse works). I even opened an issue about that: issue21536 ("extension built with a shared python cannot be loaded with a static python") ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34814> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com