When running WebKit 0.5 on my Linux 2.2 / Python 2.2a3
system 'out of the box' the AppServer refuses to
process more than 10 requests.
Each of the 10 threads created at start-up only handles
one request and then exits due to an unhandled
exception 'AttributeError' raised in transaction.die().
I am new to Python but it seems that it's not possible
to call delattr() on 'Class Attributes' or methods and
dir() returns those as well in 2.2a3.
A workaround is to just 'handle' the exception, ie.:
try: delattr(self, attrName)
except AttributeError: pass
Log in to post a comment.