[issue41324] Add a minimal decimal capsule API

Stefan Krah report at bugs.python.org
Mon Jul 20 11:02:56 EDT 2020


Stefan Krah <stefan at bytereef.org> added the comment:

I'm happy with the API, except that --with-system-libmpdec is naturally
broken.  So I've to release a new libmpdec, which I'd rather do soon
because I don't want to revisit this later.

Antoine has looked at the API.  If anyone else has requests or objections,
now would be a good time to raise concerns.  These two functions are
the centerpiece of the PR:

   mpd_uint128_triple_t PyDec_AsUint128Triple(const PyObject *dec)
   PyObject *PyDec_FromUint128Triple(const mpd_uint128_triple_t *triple)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41324>
_______________________________________


More information about the Python-bugs-list mailing list