TimefoldAI / timefold-solver

The open source Solver AI for Java, Python and Kotlin to optimize scheduling and routing. Solve the vehicle routing problem, employee rostering, task assignment, maintenance scheduling and other planning problems.
https://timefold.ai
Apache License 2.0
907 stars 76 forks source link

jpyinterpreter - Support match statements #977

Open Christopher-Chianelli opened 6 months ago

Christopher-Chianelli commented 6 months ago

See https://peps.python.org/pep-0634/

This require the following opcodes:

Christopher-Chianelli commented 6 months ago

Note: since match statements are not supported in all Python versions, use https://docs.pytest.org/en/7.1.x/example/pythoncollection.html#customizing-test-collection to ignore files with match statements when running tests in a Python version without match.