Message335918
@Serhiy Error messages are not changed in 3.7. They are different from 3.6.
Optimization in 3.7 changed "code path", not error message.
So it's difficult to fix this without breaking existing behavior.
Python 3.6.7 (default, Dec 18 2018, 17:32:18)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin
>>> set.add(0)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: descriptor 'add' requires a 'set' object but received a 'int'
>>> set.add.__get__(0)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: descriptor 'add' for 'set' objects doesn't apply to 'int' object |
|
Date |
User |
Action |
Args |
2019-02-19 10:11:15 | methane | set | recipients:
+ methane, vstinner, steven.daprano, serhiy.storchaka, yselivanov, SylvainDe, xtreak |
2019-02-19 10:11:15 | methane | set | messageid: <1550571075.85.0.739220690334.issue36026@roundup.psfhosted.org> |
2019-02-19 10:11:15 | methane | link | issue36026 messages |
2019-02-19 10:11:15 | methane | create | |
|