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 BTaskaya, Zac Hatfield-Dodds, gvanrossum, levkivskyi, serhiy.storchaka
Date 2020-10-30.04:17:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Good find! I see that typing.Callable has adopted this structure precisely to enable caching.

We should see if we can fix _collections_abc.Callable. It's still early in the life of 3.9 so I think this is reasonable.

We'll need a subclass of GenericAlias so that the repr() of Callable[[int, int], int] still comes out correctly. This is similar to how typing.Callable solves it.

Do you feel up to submitting a PR for this? Otherwise maybe Batuhan feels like contributing a fix for this?
Date User Action Args
2020-10-30 04:17:55gvanrossumsetrecipients: + gvanrossum, serhiy.storchaka, levkivskyi, Zac Hatfield-Dodds, BTaskaya
2020-10-30 04:17:55gvanrossumsetmessageid: <>
2020-10-30 04:17:55gvanrossumlinkissue42195 messages
2020-10-30 04:17:55gvanrossumcreate