Author serhiy.storchaka
Recipients Noah May, gvanrossum, levkivskyi, serhiy.storchaka
Date 2020-04-16.08:49:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It is not a bug. Tuple is a callable, but calling it raises a TypeError with the informative error message.

It does not differ from e.g.

>>> def foo():
...     raise TypeError("don't call foo()")
>>> callable(foo)
>>> foo()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 2, in foo
TypeError: don't call foo()
Date User Action Args
2020-04-16 08:49:32serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, levkivskyi, Noah May
2020-04-16 08:49:32serhiy.storchakasetmessageid: <>
2020-04-16 08:49:32serhiy.storchakalinkissue40298 messages
2020-04-16 08:49:32serhiy.storchakacreate