KeyboardInterrupt and DiskIO

Discussion in 'Python' started by Björn Lindqvist, Apr 27, 2010.

  1. 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
     
    Björn Lindqvist, Apr 27, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ivan Nestlerode

    KeyboardInterrupt and threading

    Ivan Nestlerode, Jan 2, 2004, in forum: Python
    Replies:
    8
    Views:
    540
    Anand Pillai
    Jan 8, 2004
  2. PantherSE
    Replies:
    0
    Views:
    352
    PantherSE
    May 16, 2005
  3. darren kirby
    Replies:
    1
    Views:
    529
    Diez B. Roggisch
    Nov 27, 2005
  4. Replies:
    3
    Views:
    795
    Donn Cave
    Nov 28, 2005
  5. darren kirby
    Replies:
    1
    Views:
    334
Loading...

Share This Page