pycassa/pycassa — Issue #122: don't use super()
Author: thepaul
Created: 2012-02-16 22:08:33+00:00
State: open

Python's super() looks like a real useful thing, but in reality it can lead to massive confusion and breakage. See articles like [Python's Super is nifty, but you can't use it](http://fuhm.net/super-harmful/) and [Things to Know About Python Super](http://www.artima.com/weblogs/viewpost.jsp?thread=237121) for more information.

Pycassa uses super() in 15 places, and none of them are necessary (the superclasses do not use super()). Nothing bad should happen as long as there are no inheritance diamonds, but that's not an okay assumption for a library like this to make about client code. Each instance should be changed to explicit naming of the superclass to be called.