lupa
lupa copied to clipboard
Cython error: Lua "undeclared name not builtin: long"
ArchLinux, Python 3.10, Cython 3.0.10 (0.29.36 didn't got accepted)
Error compiling Cython file:
------------------------------------------------------------
...
args = cpython.tuple.PyTuple_New(length)
lua.lua_pushnil(L) # nil (first key)
while lua.lua_next(L, -2): # key value
key = py_from_lua(runtime, L, -2)
value = py_from_lua(runtime, L, -1)
if isinstance(key, (int, long)) and not isinstance(key, bool):
^
------------------------------------------------------------
lupa/lua51.pyx:752:37: undeclared name not builtin: long
I don't have lua51 installed on my system; this is the bundled version.
PS: Building 1.14.1 against cython 0.29.36 works.