[Python-Dev] Counting references to Py_None

Facundo Batista facundobatista at gmail.com
Sun Mar 20 12:43:27 EDT 2016


Hello!

I'm seeing that our code increases the reference counting to Py_None,
and I find this a little strange: isn't Py_None eternal and will never
die?

What's the point of counting its references?

Thanks!

-- 
.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
Twitter: @facundobatista


More information about the Python-Dev mailing list