[Python-Dev] Counting references to Py_None (original) (raw)
Facundo Batista facundobatista at gmail.com
Sun Mar 20 12:43:27 EDT 2016
- Previous message (by thread): [Python-Dev] PEP 484 update: add Type[T]
- Next message (by thread): [Python-Dev] Counting references to Py_None
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): [Python-Dev] PEP 484 update: add Type[T]
- Next message (by thread): [Python-Dev] Counting references to Py_None
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]