[Python-Dev] Problem with the memory docs

Tim Peters tim.one@comcast.net
Thu, 04 Apr 2002 11:56:03 -0500


[Tim]
>> The docs for PyMem_Malloc say:
>> 
>>     Requesting zero bytes returns a non-NULL pointer.
>> ...

[Guido]
> The whole post is a joke, right?

No -- I can't implement what the docs promise there.

> You just mean that it can still return NULL when it runs out of memory,
> so the docs should say that?

The docs should be accurate, yes.