Message381576
There will always be classes that don't call super() init, sometimes for efficiency and sometimes to preserve their internal invariants.
Also, __init__() isn't the only method affected. For a perfectly cooperative class, all of the methods would need to call super().
See how to handle this in the "How to Incorporate a Non-cooperative Class" section of: https://rhettinger.wordpress.com/2011/05/26/super-considered-super/ |
|
Date |
User |
Action |
Args |
2020-11-21 21:41:15 | rhettinger | set | recipients:
+ rhettinger, benjamin.peterson, daniel.urban, alonho, Sagiv.Malihi |
2020-11-21 21:41:15 | rhettinger | set | messageid: <1605994875.08.0.39143009012.issue8733@roundup.psfhosted.org> |
2020-11-21 21:41:15 | rhettinger | link | issue8733 messages |
2020-11-21 21:41:14 | rhettinger | create | |
|