Message325978
It is an expected behavior.
From https://docs.python.org/3/library/functions.html#super:
Return a proxy object that delegates method calls to a parent or sibling class of type.
super() delegates explicit method calls. You shouldn't expect that it will delegate special methods called indirectly. For example, super() + 2 doesn't call super().__add__(2), and float(super()) doesn't call super().__float__(). |
|
Date |
User |
Action |
Args |
2018-09-21 09:14:09 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, Guillaume Dominici |
2018-09-21 09:14:09 | serhiy.storchaka | set | messageid: <1537521249.11.0.956365154283.issue34761@psf.upfronthosting.co.za> |
2018-09-21 09:14:09 | serhiy.storchaka | link | issue34761 messages |
2018-09-21 09:14:09 | serhiy.storchaka | create | |
|