Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add syntax highlighting for match-case clauses (PEP 622, 634, 635, 636) #13046

Open
idanw206 opened this issue Jul 6, 2021 · 1 comment
Open

Comments

@idanw206
Copy link

idanw206 commented Jul 6, 2021

I tried the new feature in Python 3.10.0b3 using IPython, (verison 7.25.0) and the new syntax wasn't highlighted.
I think that it will be great to support it also for the RC versions.

Thanks!

references:
https://www.python.org/dev/peps/pep-0634
https://www.python.org/dev/peps/pep-0635
https://www.python.org/dev/peps/pep-0636

@MrMino
Copy link
Member

MrMino commented Jul 15, 2021

Yup, this is yet to happen. Relevant module (AFAIK) for people who want to help: IPython.utils.PyColorzie, which is also used by %pycat.

@idanw206 idanw206 changed the title Add syntax highlighting for match-case clauses (PEP 634, 635, 636) Add syntax highlighting for match-case clauses (PEP 922, 634, 635, 636) Jul 17, 2021
@idanw206 idanw206 changed the title Add syntax highlighting for match-case clauses (PEP 922, 634, 635, 636) Add syntax highlighting for match-case clauses (PEP 622, 634, 635, 636) Jul 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants