[Pythonmac-SIG] Python crash!
Bob Ippolito
bob at redivi.com
Thu Oct 16 13:26:15 EDT 2003
On Thursday, Oct 16, 2003, at 13:15 America/New_York, Marcus H.
Mendenhall wrote:
> This is the first one of these I have seen in a while. I was running
> a program in the python IDE
>
--snip--
> The only slightly unusual thing about the program is that I was using
> signal handlers, which I haven't done a lot of before. Here is the
> program, for reference:
--snip--
> Anyone want to try to trace this down?
Python is not very good at signal handlers.. try not to use them,
especially not in the IDE. They're just asking for trouble because
signal handlers cause a condition that the interpreter isn't very
capable of coping with. I would suggest attempting to do this in
another way (i.e. using network sockets to ask your program to open a
new file or quit).
-bob
More information about the Pythonmac-SIG
mailing list