Den 03.04.2011 04:17, skrev Arthur de Souza Ribeiro:
static PyMethodDef cmath_methods[] = {
{"acos", cmath_acos, METH_VARARGS, c_acos_doc},
{"acosh", cmath_acosh, METH_VARARGS, c_acosh_doc},
{"asin", cmath_asin, METH_VARARGS, c_asin_doc},
{"asinh", cmath_asinh, METH_VARAR
Den 04.04.2011 01:49, skrev Sturla Molden:
Also observe that we do not release the GIL here. That is not because
these functions are not thread-safe, they are, but yielding the GIL
will slow things terribly.
Oh, actually they are not thread-safe because we set errno... Sorry.
Sturla
___