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 gvanrossum
Recipients gvanrossum, kj, levkivskyi, martinitus, rhettinger, serhiy.storchaka
Date 2021-10-25.15:42:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I really don't recall if we even seriously considered what isinstance(list[int], type) should return. PEP 585 doesn't mention it. I presume it falls out of the way it's being tested and the way list[int] passes most attribute requests on to the origin (i.e., to list).

Given that this has returned True for two releases now I'm very reluctant to changing this now. So our best option is pursuing Serhiy's option 1, at least partially. The fix for the OP should be simple enough, right?
Date User Action Args
2021-10-25 15:42:42gvanrossumsetrecipients: + gvanrossum, rhettinger, serhiy.storchaka, levkivskyi, kj, martinitus
2021-10-25 15:42:42gvanrossumsetmessageid: <>
2021-10-25 15:42:42gvanrossumlinkissue45438 messages
2021-10-25 15:42:42gvanrossumcreate