making py modules with C

Gordon McMillan gmcm at hypernet.com
Tue Mar 21 07:49:47 EST 2000


David Fisher wrote (on Sat, 20 Mar 1999 20:32:35 -0600 - ha ha)

> Now personally, if I'm returning Py_None, I don't Py_INCREF it.  This will
> probably get me in trouble in some obscure way someday, but I'm crazy, ask
> anyone, they'll tell you.

Eventually Python will decref Py_None enough that it gets 
deallocated, which will make your Y2K paranoia seem like a 
mild eccentricity.

- Gordon




More information about the Python-list mailing list