On Jul 15, 2:55 am, Christoph Zwerschke <[EMAIL PROTECTED]> wrote: > Here is a simple solution, but it depends > on the existence of the args attribute that > "will eventually be deprecated" according > to the docs
If you don't mind using .args, then the solution is usually as simple as: try: Thing.do(arg1, arg2) except Exception, e: e.args += (Thing.state, arg1, arg2) raise No over-engineering needed. ;) Robert Brewer System Architect Amor Ministries [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list