Velocity Reviews

Velocity Reviews (
-   Python (
-   -   KeyboardInterrupt and DiskIO (

Björn Lindqvist 04-27-2010 08:53 AM

KeyboardInterrupt and DiskIO
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

All times are GMT. The time now is 04:51 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.