Author jason.schwefel78
Recipients jason.schwefel78
Date 2020-10-22.15:38:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603381100.92.0.596798918231.issue42118@roundup.psfhosted.org>
In-reply-to
Content
The following code gives a "TypeError: 'str' object is not callable" exception:

int = ''
s = '3500:day'
a = s.split(':')
i = int(a[0])

Proper exception message should be "TypeError: 'int' object is not callable" 

Only able to test on 3.8 and 3.9
History
Date User Action Args
2020-10-22 15:38:20jason.schwefel78setrecipients: + jason.schwefel78
2020-10-22 15:38:20jason.schwefel78setmessageid: <1603381100.92.0.596798918231.issue42118@roundup.psfhosted.org>
2020-10-22 15:38:20jason.schwefel78linkissue42118 messages
2020-10-22 15:38:20jason.schwefel78create