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 serhiy.storchaka
Recipients gvanrossum, hauntsaninja, kj, levkivskyi, serhiy.storchaka
Date 2020-10-21.06:32:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603261961.3.0.851194750736.issue42102@roundup.psfhosted.org>
In-reply-to
Content
Callable is very special generic. It differs in many ways from List or Awaitable. You cannot just use GenericAlias.

Also, in contrary to list() or dict(), callable() is not a constructor, it is a predicate. callable[[int], str]() does not make sense.
History
Date User Action Args
2020-10-21 06:32:41serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, levkivskyi, hauntsaninja, kj
2020-10-21 06:32:41serhiy.storchakasetmessageid: <1603261961.3.0.851194750736.issue42102@roundup.psfhosted.org>
2020-10-21 06:32:41serhiy.storchakalinkissue42102 messages
2020-10-21 06:32:41serhiy.storchakacreate