pyresto icon indicating copy to clipboard operation
pyresto copied to clipboard

Infinite loop on non-existing attributes

Open bsod90 opened this issue 13 years ago • 0 comments

When we create an empty model object, like

m = Model()

and then will try to get any attribute (which is obviously not exist) we will get into infinite recursion call (in getattr)

but probably it should raise AttributeError instead?

bsod90 avatar Feb 22 '13 12:02 bsod90