In Ruby, objects have a handy method called method_missing which allows one to handle method calls for methods that have not been defined.
Most examples out there explain how to implement this in Python using __getattr__, however, none of them (and I mean none) explain how to intercept class method invocations using __metaclass__.
And that’s why I wrote this post.