Author skrah
Recipients josh.r, jtaylor, neologix, njs, pitrou, skrah, vstinner
Date 2014-04-27.11:26:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398598015.2.0.930172577148.issue21233@psf.upfronthosting.co.za>
In-reply-to
Content
Actually, I think we have to match the C-API:  For instance, in
Modules/_decimal/_decimal.c:5527 the libmpdec allocators are
set to the Python allocators.

So I'd need to do:

mpd_callocfunc = PyMem_Calloc;


I suppose that's a common use case.
History
Date User Action Args
2014-04-27 11:26:55skrahsetrecipients: + skrah, pitrou, vstinner, njs, neologix, jtaylor, josh.r
2014-04-27 11:26:55skrahsetmessageid: <1398598015.2.0.930172577148.issue21233@psf.upfronthosting.co.za>
2014-04-27 11:26:55skrahlinkissue21233 messages
2014-04-27 11:26:54skrahcreate