Stefan>>>  A directive, see Options.py. There are already two directives 
called "warn.undeclared" and "infer_types.verbose". Combining those should 
get close to what you are looking for.

Zaxebo1>> thanks. it works as i wished. You are really really my saviour. 

===============
Now only thing left, is that I will NOT want to declare the type of each 
variable as 
    cdef int a1
    cdef double a2
I will also want an additional option of "var", so that I can take advantage 
of DUCK TYPING etc etc, as in:
    cdef var a3

If this small leftover feature-request of "cdef var" is implemented, then 
there is nothing like it    :-)  :-)

thanks again
Zaxebo1





_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to