Hello,

I have a loop like:

try:
     for i in range(1000:
         do_something_with_a_loop_in_cython()
except KeyboardInterrupt:
     cleanup()

but unless I happen to hit Ctrl-C while it is in the python part, I  
get an interrupt ignore warning.  Is there a way to catch the Ctrl-C  
to prematurely exit out of the cython loop?


        thanks,

                        bb

--
Brian Blais
[email protected]
http://web.bryant.edu/~bblais
http://bblais.blogspot.com/



_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to