Message405034
Just my two cents as a new contributor but long time user:
- isinstance(list[int], type) returning False seems incredibly un-intuitive to me. I always see generics (e.g. list without type parameter) as higher kinded types, where passing a type argument via [] turns the hkt into a concrete type.
- Backporting to 3.9 and 3.10 should be no issue
- I am not deep enough in pythons type system to judge whether my PR is consistent/good. I really just tried out what works and "feels consistent". |
|
Date |
User |
Action |
Args |
2021-10-26 10:17:56 | martinitus | set | recipients:
+ martinitus, gvanrossum, rhettinger, serhiy.storchaka, levkivskyi, kj |
2021-10-26 10:17:56 | martinitus | set | messageid: <1635243476.54.0.0162847806102.issue45438@roundup.psfhosted.org> |
2021-10-26 10:17:56 | martinitus | link | issue45438 messages |
2021-10-26 10:17:56 | martinitus | create | |
|