Skip to content

Collect Match statements #156

@JoaoFelipe

Description

@JoaoFelipe

Python 3.10 introduced a syntax for pattern matching.

match num:
        # pattern 1
        case 1:
            print("One")
        # pattern 2
        case 2:
            print("Two")
        # pattern 3
        case 3:
            print("Three")
        # default pattern
        case _:
            print("Number not between 1 and 3")

We don't really need to support it to support general provenance collection on newer python versions (issue #155), so I'm creating this issue to decouple this feature from the bugs that are preventing us from running noWorkflow on newer versions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions