WIPACrepo / wipac-dev-tools

Common, basic, and reusable development tools
MIT License
0 stars 0 forks source link

3.11 Type Syntax Support #69

Closed ric-evans closed 2 months ago

ric-evans commented 1 year ago

Currently, at least the |-syntax for union types does not work, since this reveals as types.UnionType, which is new. Uncertain how built-in type hinting behaves, ex: dict[str,int] versus the already supported Dict[str,int].

ric-evans commented 1 year ago

We'll need to get creative to test python 3.11 type syntax since this will obviously fail older pythons.

ric-evans commented 2 months ago

closed in #106