[issue15237] Add capsule API to _decimal

Marc-Andre Lemburg report at bugs.python.org
Thu Oct 17 22:48:56 CEST 2013


Marc-Andre Lemburg added the comment:

On 17.10.2013 21:01, Stefan Krah wrote:
> 
> Stefan Krah added the comment:
> 
> I've looked at this, and the question is: Do we really need a capsule
> API?  All relevant symbols in _decimal start with Py* and shouldn't
> need to be static.

You need a capsule in order to use the C API from other extension
modules. See the datetime module for an example.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15237>
_______________________________________


More information about the Python-bugs-list mailing list