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

Support for match-case statements #1

Open
cookiepresence opened this issue Feb 13, 2024 · 1 comment
Open

Support for match-case statements #1

cookiepresence opened this issue Feb 13, 2024 · 1 comment

Comments

@cookiepresence
Copy link

Match statement support had been missing in astor, and is only recently added: berkerpeksag/astor#219. However, this will come at the cost of diverging from the PyPI version.

@sakehl
Copy link
Owner

sakehl commented May 28, 2024

Sorry for taking a while to respond.

Anyway I looked into this, and I added a commit that uses the latest astor version.

https://gitlab.tue.nl/jupyter-projects/nb_mypy

Some quick test make it look at that match case statements work completely fine.

The only thing is that I am unable to make this into a new PyPi package, since PyPi does not support "direct links", i.e. any dependencies should be on PyPi. So you can install it manually, but not via PyPi.

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

No branches or pull requests

2 participants