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
{{ message }}
Repository navigation
Can Chinese name function functions be supported? #261
from lupa.lua53 import LuaRuntime
lua = LuaRuntime()
r = lua.execute("""
function 加法(a, b)
return a + b
end
return 加法(1,2)
""")
print(r)
output
Traceback (most recent call last):
File "E:\tlsoft\echo.py", line 7, in <module>
r = lua.execute("""
File "lupa\lua53.pyx", line 412, in lupa.lua53.LuaRuntime.execute
File "lupa\lua53.pyx", line 1735, in lupa.lua53.run_lua
lupa.lua53.LuaSyntaxError: error loading code: [string "<python>"]:2: <name> expected near '<\229>'
Activity