I've not seen this way of writing a class definition before.  Would you consider this "acceptable python", or do you think of this as a way to implement useful functionality in a minimal number of lines?