char** to {'':('',)}

Ignacio Vazquez-Abrams ignacio at openservices.net
Wed Sep 5 16:51:23 CEST 2001


On Wed, 5 Sep 2001, Skip Montanaro wrote:

>     >> 2) It doesn't say for all functions whether or not they increment
>     >> refcounts of objects passed to them, viz. PyDict_SetString().
>
> If you want the nitty gritty details, check out Doc/api/refcounts.dat in
> your source distribution.  I believe Fred has the docs set up so that they
> annotate whether or not the ref counts of various parameters and return
> values change.

Nitty gritty details I like. I can work with those.

I'm not really concerned with the "XXX NOTE:" as reference-stealing can
probably be inferred fairly easily.

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>





More information about the Python-list mailing list