Forget slots (https://elfsternberg.com/2009/07/06/python-what-the-hell-is-a-slot/ …), what the hell is a dict? class Evil: __dict__ = None def __init__(self, x, y): self.x = x self.y = y >>> e = Evil(2,3) >>> dir(e) ... stare at it closely ... >>> e.__dict__ >>> e.x 2 >>> e.z ='wat' >>>
-
-
That last line surprised me. Why should e and E __dict__ diverge? I'll have to play with this and look at IDs.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.