PyArg_ParseTuple O format semantics

Robin Becker robin at jessikat.fsnet.co.uk
Fri Sep 7 14:44:15 EDT 2001


Steve Alexander kindly forwarded me a note relating to a change in
getargs.c that occurred between  2.0 and 2.0.1. Basically it was implied
that O format conversion was buggy before in term of the refcount of the
returned object.

The documentation doesn't mention any increment so it seems to return a
borrowed ref.

I'm using the O flag a bit and would like to know if I should be
patching to cover the change -->2.0.1?
-- 
Robin Becker



More information about the Python-list mailing list