Hi folks,

I'm getting a curious error in Cython 0.14 when trying to compile this:

  def bar(foo):
      qux = foo
      quux = foo[qux.baz]

The error message:

        $ cython bar.py

        Error compiling Cython file:
        ------------------------------------------------------------
        ...
        def bar(foo):
                qux = foo
                quux = foo[qux.baz]
                      ^
        ------------------------------------------------------------

        /Users/daniel/Desktop/cython-test/bar.py:3:15: Object of type 
'<unspecified>' has no attribute 'baz'

Cython 0.13 compiles this just fine. I also tried the latest revision of 
cython-devel (b816b03ff502) and it fails.

Regards,
Daniel
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to