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 kj
Recipients kj, tyler.yep
Date 2021-01-23.04:01:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611374506.26.0.26236256753.issue43004@roundup.psfhosted.org>
In-reply-to
Content
This seems to be a duplicate of Issue40494. It has already been fixed in Python 3.10, and in Python 3.9.2 (which isn't out yet). You can see the what's new for it here https://docs.python.org/3/whatsnew/3.9.html#notable-changes-in-python-3-9-2.

The expected release date for Python 3.9.2 is Monday, 2021-02-15 according to PEP 596 https://www.python.org/dev/peps/pep-0596/.

For now, I guess you'll have to use the old typing.Callable, then update it in newer versions of Python.

I'm assuming you are currently using python 3.9.0/3.9.1, which has this bug. I'm unable to reproduce it on Python 3.10.
History
Date User Action Args
2021-01-23 04:01:46kjsetrecipients: + kj, tyler.yep
2021-01-23 04:01:46kjsetmessageid: <1611374506.26.0.26236256753.issue43004@roundup.psfhosted.org>
2021-01-23 04:01:46kjlinkissue43004 messages
2021-01-23 04:01:45kjcreate