On 05/09/2011 09:29 AM, Vitja Makarov wrote:
I've never been using buffers so my question is:

Should uninitialized buffer access raise UnboundLocalVariable error?

Like this:

def foo():
      cdef object<int>  bar
      print bar


"object[int]" should behave exactly the same way as "object" does during control flow analysis.

Dag Sverre
_______________________________________________
cython-devel mailing list
[email protected]
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to