tombulled / subtype

Python Subtype Checking
MIT License
0 stars 0 forks source link

:no_good: (EARLY, DNM, UNFIN) Initial Implementation #4

Open tombulled opened 1 year ago

tombulled commented 1 year ago

It might be cool to simplify some of the logic by leaning on typing_inspect a bit - https://github.com/ilevkivskyi/typing_inspect

tombulled commented 1 year ago

Use pytype as a reference: https://github.com/Stewori/pytypes/blob/3846f1be3e44892c8e60f750f7581cbddd8be383/pytypes/type_util.py#L1812

tombulled commented 1 year ago

Another potential reference: https://github.com/bojiang/typing_utils