4 Dec
2000
4 Dec
'00
4:10 p.m.
I'm still catching up on several hundred emails over the weekend. I had a sneaking suspicion that infindattr wasn't thread-safe, so I'm convinced this is a bug in the implementation. One approach might be to store the info in the thread state object (isn't that how the recursive repr stop flag is stored?)
Whether this works depends on how exactly the info is stored. A single flag won't be sufficient, since multiple objects may have __findattr__ in progress in a given thread. With a set of instances, it would work, though. Regards, Martin