Hello,

The simple example works fine using __reduce__:

class MyError(Exception):
    def __init__(self, arg):
        self.arg = arg

    def __reduce__(self):
        return (MyError, (self.arg, ))

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

Reply via email to