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, gvanrossum, hauntsaninja, kj, levkivskyi, serhiy.storchaka
Date 2020-11-16.18:48:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Well, it's certainly no bug fix, but just as PEP 585 lets us write list[int] instead of typing.List[int], it could be considered useful to be able to write callable[[int, int], str] instead of typing.Callable[[int, int], str].

It's easy enough to make it work so that callable(x) returns a bool but callable[X, Y] returns a built-in subclass of types.GenericAlias (the built-in type).

That said, I don't have data about how popular Callable is compared to other types (Sequence/Iterable etc. which will remain in Maybe someone can do some grepping of popular projects?
Date User Action Args
2020-11-16 18:48:47gvanrossumsetrecipients: + gvanrossum, serhiy.storchaka, levkivskyi, BTaskaya, hauntsaninja, kj
2020-11-16 18:48:47gvanrossumsetmessageid: <>
2020-11-16 18:48:47gvanrossumlinkissue42102 messages
2020-11-16 18:48:47gvanrossumcreate