Good discussion of Python instance/static methods
This article is billed as a discussion of what the new method in Python does and how to override it. The article covers this topic with great attention to detail.
However, I actually thought the discussion on some of the subtleties of instance methods and new vs. init were even more interesting.
This isn't something I haven't read about before. After all, the Python data model docs discuss a lot of the article's topics in detail. However, I thought the author did a good job of explaining a familiar topic with an approach just different enough to learn something new.
Published: 06-18-2012 13:50:00