holzschu / Carnets

Carnets is a stand-alone Jupyter notebook server and client. Edit your notebooks on the go, even where there is no network.
https://holzschu.github.io/Carnets_Jupyter/
BSD 3-Clause "New" or "Revised" License
567 stars 34 forks source link

Support Union/Optional from python 3.10 #255

Closed Mara-Li closed 2 years ago

Mara-Li commented 2 years ago

Hello! I use in my python code the new type annotation supported in 3.10 for union, eg int|str. But, it doesn't supported by Jupyter because it is python 3.9.

Do you think you will support it in some times ? Thanks.

holzschu commented 2 years ago

Hi, the short answer is yes. I haven't had a request for 3.10 (and 3.11) features, but now I have. The long answer is: it's a matter of months, not weeks.

The plan is:

Mara-Li commented 2 years ago

A lot of work here ! Good luck with that and thanks you for your reply :)