Python > 3.7 upgrade?

Hi
I am wondering if Python 3.8 or above is on the road map?
The reason is PEP 572 convenience. PEP 572 -- Assignment Expressions | Python.org

regards
Ben

8 Likes

Totally agree that I hope they get that added soon! I found your post specifically because I was hoping to find out something about when 3.8 or above was on the way so I can start using the sweet, sweet walrus operator :laughing:

4 Likes

Any update on this? Assignment expressions (aka walrus operators) are standard fare these days, and the IDE still doesn’t recognize them as valid code. Walrus operators being marked as syntax errors winds up breaking many great Anvil IDE features, like CMD+Click to jump to a definition.

I know assignment expressions aren’t valid on the client side, but it’d be a HUGE help if they were recognized as valid syntax on the server side when using a compatible Python version. I think it’d definitely help adoption of the 3.10 beta too.

1 Like

Especially now that Python 3.6 and 3.7 are deprecated, can we expect an upgrade to a supported version soon-ish?

3 Likes