The next blog post he posted a few months later was all about how he spent the last few months playing this video game. Well, not entirely, there was a dig at google+ in there as well. But I'm guessing the study hall didn't happen...
Too bad too, because I also felt very inspired by his "I quit" speech and was looking forward to a follow up.
Good point, I didn't realize that people that put racing stripes on their cars to make them go fast were a protected group. Back to the lab on this one..
It'd be really nice if it were this simple, and in a language like Javascript you'd probably succeed. But Python has a lot of pit traps for you when you start monkey patching things. For example, what happens when the attribute you're mocking (though really you should be calling it stubbing since that's all that happens here) is inherited from a superclass and you try to restore it with your dict update approach? What happens to all the other instance of the class?
I'd stick with an existing library that does these things correctly.
Too bad too, because I also felt very inspired by his "I quit" speech and was looking forward to a follow up.