On 12 August 2010 03:06, Stefan Behnel <[email protected]> wrote: > > Py2's __long__ is the closest equivalent to __int__ in Py3, so I think the > case that a user defines a __long__ method but no __int__ method should let > Cython generate an __int__ method in Py3. >
That's how things work. I've implemented such behavior long ago. -- Lisandro Dalcin --------------- CIMEC (INTEC/CONICET-UNL) Predio CONICET-Santa Fe Colectora RN 168 Km 472, Paraje El Pozo Tel: +54-342-4511594 (ext 1011) Tel/Fax: +54-342-4511169 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
