[Cython] Any thoughts on a DEFINED keyword?

Dag Sverre Seljebotn dagss at student.matnat.uio.no
Tue Aug 19 07:27:03 CEST 2008


> Does anyone else have any thoughts on this: http://trac.cython.org/
> cython_trac/ticket/27

I'm not sure if I get the motivating usecase ... it looks like someone is
using include but should be using cimport. Whatever someones needs is to
require such protections it would be better to find a more high-level way
of going about it IMO (e.g. if using cimport is absolutely impossible,
perhaps that is an argument for include_once or similar).

The feature doesn't really hurt though, so I'm -0.1 (and may be +1 if I
could see a better/more detailed motivating usecase).

Dag Sverre




More information about the Cython-dev mailing list