Stefan Krah added the comment: libmpdec has always been a separate project, predating the integration into Python-3.3. Before the Python-3.3 release, Jim Jewett suggested a cleaner library/module separation (and he was right, it made the code much more readable).
Then distributors wanted --with-system-libmpdec, so here we are. Let's discuss the _decimal capsule API in #15237. As for the libmpdec symbols: I agree it is somewhat unclean to do this on the Python side. For *some* functions it is also tricky (but by no means impossible) to use them directly and expect the same results as from _decimal. Maybe a solution for numba is to just assume --with-system-libmpdec. libmpdec is extremely easy to package, distributions just have to ensure that their Python version matches the libmpdec version. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22194> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com