durusmail: durus-users: __setattr__ RuntimeError: max recursion depth exceeded
__setattr__ RuntimeError: max recursion depth exceeded
2004-10-15
Mario Ruggier (2 parts)
__setattr__ RuntimeError: max recursion depth exceeded
2004-10-15
2004-10-15
2004-10-15
2004-10-15
2004-10-15
2004-10-15
__setattr__ RuntimeError: max recursion depth exceeded
Mario Ruggier
2004-10-15
Hello,

I have run across this RuntimeError, when using persistent objects (2
levels of inheritance away from Persistent) that also define
__setattr__. The problem occurs when the following boiled-down script
is run the second time (and thereafter)... Not using __setattr__ (such
as using properties, as indicated in the commented code in the script)
will achieve the same intentions while not generating the error. I have
no idea if I am abusing something here, or am overseeing something, or
if this is a bug in Durus. Using Durus 1.2 on python 2.3, on OS X.

mario

reply