Eric Huss's readonly variable patch:
There's a minor bug, if you try to cdef a readonly variable at the module scope, the compiler raises an UnboundLocalError exception. The attached patch seems to clear up the problem and gets the compiler to report the correct error.
Showing
Please register or sign in to comment