timefold-solver icon indicating copy to clipboard operation
timefold-solver copied to clipboard

jpyinterpreter - Support match statements

Open Christopher-Chianelli opened this issue 1 year ago • 1 comments

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

This require the following opcodes:

  • COPY_DICT_WITHOUT_KEYS
  • GET_LEN
  • MATCH_MAPPING
  • MATCH_SEQUENCE
  • MATCH_KEYS
  • MATCH_CLASS(count)

Christopher-Chianelli avatar Mar 04 '24 18:03 Christopher-Chianelli

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.

Christopher-Chianelli avatar Mar 04 '24 18:03 Christopher-Chianelli

As of today, Timefold halted any further development of the Python solver. Find out more here: https://github.com/TimefoldAI/timefold-solver/discussions/1698

Closing this issue.

triceo avatar Jul 11 '25 11:07 triceo