Prev: Detect OS shutdown or user logout across different operatingsystems
Next: Python 2.X vs. 3.X - level of acceptance?
From: Björn Lindqvist on 27 Apr 2010 04:53 DiskIO appears to not be interruptable. For example: >>> open('bighugefile.sql').read() Pressing Ctrl-C (on Linux with python 2.6.4) will not interrupt the command. I believe that it used to in previous versions of python but I may be mistaken. Is it supposed to be that way? The behavior is annoying and in other environments ctrl-c interrupts disk io. -- mvh Björn |