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
result = select(c for c in Customer if c.country == 'USA')[:]
.venv/lib/python3.12/site-packages/pony/orm/decompiling.py", line 218, in get_instructions
arg = [cmp_op[oparg]]
~~~~~~^^^^^^^
IndexError: tuple index out of range
Also
result = select((c.country, count(c)) for c in Customer)[:]
.venv/lib/python3.12/site-packages/pony/orm/decompiling.py", line 278, in decompile
x = method(*arg)
^^^^^^^^^^^^
TypeError: Decompiler.YIELD_VALUE() takes 1 positional argument but 2 were given
The text was updated successfully, but these errors were encountered:
Python 3.12
pony 0.7.17
I ran the estore.py sample https://github.com/ponyorm/pony/blob/orm/pony/orm/examples/estore.py
result = select(c for c in Customer if c.country == 'USA')[:]
Also
result = select((c.country, count(c)) for c in Customer)[:]
The text was updated successfully, but these errors were encountered: