repeated C-c will cause a window to fail to close

Terrence M. Brannon (brannon@jove.cs.caltech.edu)
Tue, 28 Jul 92 10:02:15 PDT

Has anyone created a window in the stdwin module of python and not
been able to get it to close because you sent a series of C-c at
the Python interpreter?

I am using C-c from Emacs as a signal to the python interpreter that
emacs has finished what it has requested like so:

python interp -- calls emacs lisp----> emacs does function ---|
|
python <------ sends C-c<------
continues python interp
process to signal
completion

Python does its wait by doing a try:
emacs.dired('.')
except:
print 'emacs is finished'

--
terrence brannon
brannon@jove.cs.caltech.edu