Replies: 3 comments 1 reply
-
|
Right now we require 3.6
It seems the pipe syntax requires 3.10
It’s only 2 years old, which means many users won’t have upgraded, notably in large orgs…
… Le 9 sept. 2023 à 16:54, chwmilcon ***@***.***> a écrit :
I'm looking at updating the type hinting for Python3 support. I realized that the version of python3 my team is using might be ahead of where antlr wants to support. Has a minimum version been declared? For example, can the:
def func() -> thing | int :
form be used, or should this be restricted to Union[thing,int]
—
Reply to this email directly, view it on GitHub <#4412>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAZNQJCJFVRAQ6N23XYOKDTXZR7JNANCNFSM6AAAAAA4RP4DNY>.
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Here is the latest version 3.11.5 or an older version 3.8.17. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Oh, I'm sorry :-) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm looking at updating the type hinting for Python3 support. I realized that the version of python3 my team is using might be ahead of where antlr wants to support. Has a minimum version been declared? For example, can the:
def func() -> thing | int :
form be used, or should this be restricted to Union[thing,int]
Beta Was this translation helpful? Give feedback.
All reactions