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

Use Python 3.10 in the playground #53

Closed
isidentical opened this issue Jan 19, 2022 · 5 comments
Closed

Use Python 3.10 in the playground #53

isidentical opened this issue Jan 19, 2022 · 5 comments

Comments

@isidentical
Copy link

It seems like the project is still using 3.8, but it is causing some problems when experimenting with new syntax. I wonder whether we can bump it to Python 3.10?

@jpadilla
Copy link
Owner

Can easily bump today to 3.9 since its a supported lambda runtime. 3.10 would require a custom docker image and I most likely wouldnt get to it for a bit.

@isidentical
Copy link
Author

That works, 3.10 would be also important for the new users of pattern matching but it is not urgent at all. Thanks!

@jpadilla
Copy link
Owner

done in 97bf2f5

@ilyagr
Copy link

ilyagr commented Mar 2, 2023

black running on 3.9 cannot format code with Python 3.10's pattern matching syntax as discussed in psf/black#2242 (comment).

Is there any change 3.10 is a supported lambda runtime by now?

@ilyagr
Copy link

ilyagr commented Mar 7, 2023

I found that checking "Skip temporary sanity checks." makes the playground format Python code with match statements. I'm not sure if that formatting is what it's supposed to be, but it worked well enough for me.

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

3 participants