Stefan Behnel wrote: > Dag Sverre Seljebotn wrote: > >> A directive to warn/give error on any undeclared variables? I.e.: >> >> @cython.warning_undeclared(True) >> def foo(): >> cdef object a >> cdef int b >> a = b = c = 3 # warns that "c" is not declared and auto-typed to object >> > > Fine with me. There are really cases where you want a function to be "all > C", and you want to be sure it stays that way. > This is now
http://trac.cython.org/cython_trac/ticket/369 Dag Sverre _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
