You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Cython 0.24, I'm seeing a compilation failure on code that's using cython.view.array to dynamically create typed memoryviews. Here's the end of the traceback I get (full code to reproduce and full traceback are at the end of this report):
Compiler crash traceback from this point on:
File "/Users/mdickinson/.edm/envs/test/lib/python2.7/site-packages/Cython/Compiler/ExprNodes.py", line 1783, in compile_time_value
return denv.lookup(self.name)
AttributeError: 'NoneType' object has no attribute 'lookup'
Since Cython 0.24, I'm seeing a compilation failure on code that's using
cython.view.array
to dynamically create typed memoryviews. Here's the end of the traceback I get (full code to reproduce and full traceback are at the end of this report):The failure seems very similar to that reported in April 2016 on the cython-devel mailing list, in a message entitled "Cython compiler crash in 0.24": https://mail.python.org/pipermail/cython-devel/2016-April/004771.html
Versions in use: Cython 0.25.2-1, Python 2.7.12, OS X 10.9.5.
Here's a cut-down version of the original code (and yes, the original code made more sense than this):
Under Cython < 0.24, this compiles without error. Under Cython 0.24 and later, I get a traceback like the following:
The text was updated successfully, but these errors were encountered: