Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Added support for match and case keywords introduced in python 3.10#66

Open
jwackito wants to merge 1 commit intohdima:masterhdima/python-syntax:masterfrom
jwackito:masterjwackito/python-syntax:masterCopy head branch name to clipboard
Open

Added support for match and case keywords introduced in python 3.10#66
jwackito wants to merge 1 commit intohdima:masterhdima/python-syntax:masterfrom
jwackito:masterjwackito/python-syntax:masterCopy head branch name to clipboard

Conversation

@jwackito
Copy link

@jwackito jwackito commented Jan 9, 2022

Revision 3.10 (2022-01-09):

  • Add support for 'match' and 'case' keywords introduced in
    Python 3.10. Patch by Joaquin Bogado.

@lilydjwg
Copy link

lilydjwg commented Jan 9, 2022

But they are actually soft keywords: you can still define a variable / attribute named match (and it's pretty common when using re).

@jwackito
Copy link
Author

jwackito commented Jan 9, 2022

Oh! I see. Any idea how to process them then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments

Close sidebar
Morty Proxy This is a proxified and sanitized view of the page, visit original site.