Hi, Greg Ewing wrote: > Dag Sverre Seljebotn wrote: > >> Or, it might work to simply analyse the temp as int, which coerces >> into the right thing on the individual assignments. > > The way I think I would approach this is to consider True > and False to be of a special 'boolean' type, which is a > kind of C int that coerces into Py_True or Py_False when > used in a Python context.
Cython has the "bint" C type for this. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
