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 eric.smith
Recipients eric.smith, jason.schwefel78
Date 2020-10-22.15:44:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603381493.76.0.564627989449.issue42118@roundup.psfhosted.org>
In-reply-to
Content
You've rebound "int" to a string. I think the error message is correct.

Here's a simpler case:

>>> int = ''
>>> int
''
>>> int()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'str' object is not callable

What do you expect to gain with the "int = ''" statement?
History
Date User Action Args
2020-10-22 15:44:53eric.smithsetrecipients: + eric.smith, jason.schwefel78
2020-10-22 15:44:53eric.smithsetmessageid: <1603381493.76.0.564627989449.issue42118@roundup.psfhosted.org>
2020-10-22 15:44:53eric.smithlinkissue42118 messages
2020-10-22 15:44:53eric.smithcreate