Skip to content

Instantly share code, notes, and snippets.

@danielnorberg
Created January 6, 2011 11:06
Show Gist options
  • Save danielnorberg/767768 to your computer and use it in GitHub Desktop.
Save danielnorberg/767768 to your computer and use it in GitHub Desktop.
Cython 0.14 Bug
def bar(foo):
qux = foo
quux = foo[qux.baz]
#
# 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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment