Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: No, PyTuple_SET_ITEM() "steals" a reference to its argument, so that ownership is transferred to the tuple. The reference will be released when the tuple is disposed, with Py_DECREF(arg).
What makes you think that there is a reference leak? Do you have a test case? ---------- nosy: +amaury.forgeotdarc _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3328> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com