A certain situation in Python recently alarmed me, and its reason is still not completely clear after a little research. The following class definitions appear to work flawl
Have you seen this alternative? https://stackoverflow.com/a/53063670/1400467
There's a "tricky" workaround by using metaclasses and a fake _slots_ attribute. This works in Python 3.6 and hope in Python 3.X so.
_slots_