What is the problem with the following __iadd__ definition ?
class MyInt:
def __init__(self, val):
self.val = val
def __iadd__(self, other):
try:
self.val += other
except:
self.val += other.val