Author Noah May
Recipients Noah May
Date 2020-04-16.07:27:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Whether this is considered a bug or not is subjective. The question is should callable(Tuple) return True or False? Or should it for any other annotation object?

The reason it returns true in the first place is because of a warning to explicitly NOT call them as functions/constructors:

>>> from typing import Tuple
>>> callable(Tuple)
>>> Tuple()
TypeError: Type Tuple cannot be instantiated; use tuple() instead

Source code:

I honestly don't know how this could be "fixed" if it even needs to be fixed. But I just wanted to bring attention to it.

Date User Action Args
2020-04-16 07:27:17Noah Maysetrecipients: + Noah May
2020-04-16 07:27:17Noah Maysetmessageid: <>
2020-04-16 07:27:17Noah Maylinkissue40298 messages
2020-04-16 07:27:17Noah Maycreate