Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   KeyboardInterrupt and DiskIO (http://www.velocityreviews.com/forums/t721553-keyboardinterrupt-and-diskio.html)

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.