atom / language-python

Python package for Atom
Other
190 stars 146 forks source link

Python 3.10 Structural Pattern Matching #335

Open TabulateJarl8 opened 2 years ago

TabulateJarl8 commented 2 years ago

Summary

Python 3.10 was officially released yesterday, and it comes with a new feature, structural pattern matching (PEP 634). This includes new keywords like case and match which aren't currently supported by this package.

Motivation

I would like this package to stay up to date with the latest versions of Python

Describe alternatives you've considered

Additional context

Example of it not working: image