2 October 2009 at 1:41am
I think the set_static method helps in cases where decorator or "extensions" are being used. So that you can set a static variable that doesn't really belong to the object itself, but to an extension of that object. I'm not really sure though ;)
But there's nothing wrong with setting the static variable directly. It surely is the better option from a performance point of view.