Ha!  I didn't realize that was getmembers' implementation.  What a hack
;-)

In fact, your way is faster, since getmembers is taking the time to
sort its results (presumably so that repeated calls to the same object
will yield the same list; I don't think dir has a guaranteed ordering)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to