Fredrik Lundh wrote:

>     return=NULL; output=junk => out of memory
>     return=junk; output=-1 => cannot do this
>     return=pointer; output=value => did this, returned value bytes

> I agree that the design is a bit questionable;

It sure is. If you get both NULL and -1 returned, how are
you supposed to know which one is the junk?

Greg
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to