[Python-Dev] PyTuple_Pack added references undocumented

Edward C. Jones edcjones at comcast.net
Mon Aug 8 04:06:44 CEST 2005


According to the source code, PyTuple_Pack returns a new reference (it 
calls PyTuple_New). It also Py_INCREF's all the objects in the new 
tuple. Is this unusual behavior? None of these added references are 
documented in the API Reference Manual.


More information about the Python-Dev mailing list