This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martinitus
Recipients gvanrossum, kj, levkivskyi, martinitus, rhettinger, serhiy.storchaka
Date 2021-10-26.10:17:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1635243476.54.0.0162847806102.issue45438@roundup.psfhosted.org>
In-reply-to
Content
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".
History
Date User Action Args
2021-10-26 10:17:56martinitussetrecipients: + martinitus, gvanrossum, rhettinger, serhiy.storchaka, levkivskyi, kj
2021-10-26 10:17:56martinitussetmessageid: <1635243476.54.0.0162847806102.issue45438@roundup.psfhosted.org>
2021-10-26 10:17:56martinituslinkissue45438 messages
2021-10-26 10:17:56martinituscreate