https://www.orchest.io/ logo
Title
y

Yannick

10/05/2021, 7:53 AM
Python 3.10 is now available 🙌 . Check out what's new here: https://docs.python.org/3.10/whatsnew/3.10.html
👍 1
r

Rick Lamers

10/05/2021, 8:02 AM
Union types 😮
isinstance("", int | str)
https://www.python.org/dev/peps/pep-0604/
match command.split():
    case ["quit"]:
        print("Goodbye!")
        quit_game()
    case ["look"]:
        current_room.describe()
    case ["get", obj]:
        character.get(obj, current_room)
    case ["go", direction]:
        current_room = current_room.neighbor(direction)
    # The rest of your commands go here
Structural pattern matching ☑️
a

Abid

10/05/2021, 8:46 AM
should we shift to 3.10? I think for machine learning package it will have dependency issues.
y

Yannick

10/05/2021, 8:52 AM
Just wanted to mention the release as I think it contains some useful new features. Could break dependencies, not sure :P
👍 1
r

Rick Lamers

10/05/2021, 1:24 PM
We won’t be moving to the latest version for the foreseeable future. Data projects in Orchest don’t have to move to the version Orchest uses internally. Orchest is agnostic to the Python version (through the container abstraction we use internally). You can actually run data projects in Orchest in Python versions ranging from 3.6 to 3.10 at the moment.
👍 1