[Cython] CEP1000: Native dispatch through callables

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Apr 18 00:55:23 CEST 2012

Dag Sverre Seljebotn wrote:
> if you use 
> Python bytes in a dict in sys.modules['_nativecall'], the bytes objects 
> could be deallocated before callables containing the interned string -- 
> unless you Py_INCREF once too many,

I don't understand that. Is there some reason that refcounting
of the interned strings can't be done correctly?


More information about the cython-devel mailing list