ponyorm / pony

Pony Object Relational Mapper
Apache License 2.0
3.58k stars 242 forks source link

python3.12 support #694

Open py-radicz opened 7 months ago

py-radicz commented 7 months ago

Is it possible to add support for python3.12?

It seems quite compatible for doing queries like db.Entity.select().. but when I do db.Entity.select(lambda x: x.attr == y) I'll get IndexError: tuple index out of range raising from decompiler on line 209 e.g

    arg = [code.co_names[oparg]]
           ~~~~~~~~~~~~~^^^^^^^