homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients josh.r, jtaylor, neologix, njs, pitrou, python-dev, skrah, vstinner
Date 2014年06月02日.20:16:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401740181.91.0.354723315836.issue21233@psf.upfronthosting.co.za>
In-reply-to
Content
"Okay, then let's please call it:
_PyObject_Calloc(void *ctx, size_t nobjs, size_t objsize)
_PyObject_Alloc(int use_calloc, void *ctx, size_t nobjs, size_t objsize)"
"void * PyMem_RawCalloc(size_t nelem, size_t elsize);" prototype comes from the POSIX standad:
http://pubs.opengroup.org/onlinepubs/009695399/functions/calloc.html
I'm don't want to change the prototype in Python. Extract of Python documentation:
.. c:function:: void* PyMem_RawCalloc(size_t nelem, size_t elsize)
 Allocates *nelem* elements each whose size in bytes is *elsize* (...)
History
Date User Action Args
2014年06月02日 20:16:21vstinnersetrecipients: + vstinner, pitrou, njs, skrah, neologix, python-dev, jtaylor, josh.r
2014年06月02日 20:16:21vstinnersetmessageid: <1401740181.91.0.354723315836.issue21233@psf.upfronthosting.co.za>
2014年06月02日 20:16:21vstinnerlinkissue21233 messages
2014年06月02日 20:16:21vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /