[Python-Dev] Segfault
"Martin v. Löwis"
martin at v.loewis.de
Tue Aug 21 19:22:55 CEST 2007
> I think there might already be a bug report about file not being
> thread-safe. (It could have also been socket, but I think Martin
> fixed a problem in socket a while ago.)
This was a different problem, though: the socket object contained
an address structure, which it didn't really need and which wasn't
thread-safe. The (simple) fix was to remove the address from the
object, and move it onto the stack.
Regards,
Martin
More information about the Python-Dev
mailing list