Dag Sverre Seljebotn wrote: > The alternative then appears to be > > from cython.c.math cimport sqrt > from cython.python cimport Py_INCREF > > but that's awfully verbose.
I LIKE verbose imports -- that's what "from" is for. The import can be verbose (and clear, and unlikely to name clash), while the rest of your code is as terse as you like. If this is all cython stuff, it should live in the cython namespace. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [email protected] _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
