Stefan Krah added the comment: I'm a little unsure what to do with the API, see also #15237:
1) I'm not too fond of the Capsule method, especially because it *seems* possible to get at the symbols directly on Linux and Windows (provided that they aren't static of course). 2) I would not like to spend time on it if we go ahead and make decimal a builtin (double effort). 3) It's not clear whether users would not be served better by using functions from libmpdec directly (much faster, probably less error handling). For 3) I've attached a draft that illustrates the issue. ---------- _______________________________________ 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