I do not know how to interrupt an infinite loop on python 2.7 running through Canopy on a Windows 7 OS. Ctrl+C doesn't work, "Interrupt Kernel" under the "Run" menu also never seems to work. On linux (ubuntu) the keyboardinterrupt ctrl+c works just fine but not on Windows.
The only way I've been able to stop a accidental infinite loop is through the "Restart Kernel" option under the "Run" menu. Unfortunately that means that I loose all my working variables, which is undesirable. On MATLAB Ctrl+C worked just fine.
I've found several similar questions of keyboardinterrupt issues on Python but none using the Enthought Canopy environment.
Any help is much appreciated.