marduk <marduk at python.net> wrote: > Based on all the responses received thus far, I thought of a way of > doing it without an exception: > > myobj.__dict__.get('method', lambda : None)() Have you TRIED this? most likely, myobj.method is NOT reaching into myobj.__dict__, but rather into type(myobj). getattr is WAY superior! Alex