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, levkivskyi, serhiy.storchaka
Date 2020-05-04.08:07:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588579632.5.0.091811612876.issue40494@roundup.psfhosted.org>
In-reply-to
Content
There is a difference between typing.Callable and collections.abc.Callable.

>>> import typing, collections.abc
>>> T = typing.TypeVar('T')
>>> C1 = typing.Callable[[T], T]
>>> C2 = collections.abc.Callable[[T], T]
>>> C1
typing.Callable[[~T], ~T]
>>> C2
collections.abc.Callable[[~T], ~T]
>>> C1[int]
typing.Callable[[int], int]
>>> C2[int]
collections.abc.Callable[[~T], int]
History
Date User Action Args
2020-05-04 08:07:12serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, levkivskyi
2020-05-04 08:07:12serhiy.storchakasetmessageid: <1588579632.5.0.091811612876.issue40494@roundup.psfhosted.org>
2020-05-04 08:07:12serhiy.storchakalinkissue40494 messages
2020-05-04 08:07:12serhiy.storchakacreate