-
Notifications
You must be signed in to change notification settings - Fork 315
sqlite-bro broken in python-3.13.0b1 #1337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
it seems a bug, as eval('py_hello') breaks |
issue raised, to see if it's normal or a bug: python/cpython#118938 this works on Python-3.12 and before, fails on 3.13.0b1:
|
so a Python-3.13 compatible code is, beause of PEP 667, this way: d={}
a="""def py_helloa():
"hello world"
return ("Hello, a World !");""";
exec(a, globals(), locals());
ae=eval('py_helloa');
print(ae())
def test():
b="""def py_hellob():
"hello world"
return ("Hello, b World !");""";
exec(b, globals(), d);
be=eval('py_hellob', d);
print(be())
test() |
sqlite_bro-3.13.0 pushed on Github, apparently compatible with Python-3.12 and 3.13 |
Baresql github shall be fixed too, now. |
the example of custom fonction (py_sin) doesn't work.
but this manual program works:
The text was updated successfully, but these errors were encountered: