Message376526
I'm not sure whether this is a bug or a feature request, but it seems as though the following should produce the same result:
In [1]: 'a' + 'b' + 'c'
Out[1]: 'abc'
In [2]: sum(('a', 'b', 'c'))
TypeError Traceback (most recent call last)
in
----> 1 sum(('a', 'b', 'c'))
TypeError: unsupported operand type(s) for +: 'int' and 'str'
The error message is confusing (there is no integer). |
|
Date |
User |
Action |
Args |
2020-09-07 19:21:29 | Phillip.M.Feldman@gmail.com | set | recipients:
+ Phillip.M.Feldman@gmail.com |
2020-09-07 19:21:29 | Phillip.M.Feldman@gmail.com | set | messageid: <1599506489.43.0.159938522754.issue41740@roundup.psfhosted.org> |
2020-09-07 19:21:29 | Phillip.M.Feldman@gmail.com | link | issue41740 messages |
2020-09-07 19:21:29 | Phillip.M.Feldman@gmail.com | create | |
|