[Python.NET] PyTuple IDisposable implementation

Steven Burns royalstream at hotmail.com
Wed Mar 30 15:38:22 EDT 2016


I'm creating PyTuple instances using the constructor.

I noticed the constructor calls Runtime.Incref for each of the tuple 
elements.

But PyTuple doesn't override PyObject's implementation of IDisposable.

It's not clear to me when this references will be cleared.

Thanks,

Steven

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20160330/23e0a6ae/attachment.html>


More information about the PythonDotNet mailing list