I discovered this pattern (or anti-pattern) and I am very happy with it.
I feel it is very agile:
def example(): age = ... name = ... pri
Regarding the "cousin", instead of obj.__dict__, it looks a lot better with new string formatting:
obj.__dict__
def example2(obj): print "The file at {o.path} has {o.length} bytes".format(o=obj)
I use this a lot for repr methods, e.g.
def __repr__(self): return "{s.time}/{s.place}/{s.warning}".format(s=self)