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
mypackage.demo2.py:6:41: Array size must be a compile time constant
I could not find any other way to define the size of the scratch buffer in pure-python mode other than hardcoding it. This works but it's very poorly maintainable:
Describe the bug
common.pxd:
This constant can be imported from Cython-only modules to create arrays in the stack:
demo.pyx:
However, the same crashes in Pure-python mode:
demo2.py:
The latter crashes during compilation:
mypackage.demo2.py:6:41: Array size must be a compile time constant
I could not find any other way to define the size of the scratch buffer in pure-python mode other than hardcoding it. This works but it's very poorly maintainable:
Python version
3.12.7
Cython version
3.0.11
The text was updated successfully, but these errors were encountered: