How can I intercept calls to python’s “magic” methods in new style classes? – Stack Overflow