Stefan Behnel added the comment: > (for the record, the context is that we would like to support decimal objects > efficiently in Numba)
Same for Cython, although I guess we wouldn't do more than shipping the necessary declarations and (likely) also enable auto-coercion between the libmpdec decimal type (struct?) and CPython's decimal type, in the same way that we do it for byte strings. Thus, a public header file with the necessary type checking and packing/unpacking C-API functions would be nice and also sufficient for now. ---------- nosy: +scoder _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue22194> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
