]> granicus.if.org Git - python/commit
Doh! os.read() raises an OSError, not an IOError when it's interrupted.
authorJeffrey Yasskin <jyasskin@gmail.com>
Fri, 4 Apr 2008 04:51:19 +0000 (04:51 +0000)
committerJeffrey Yasskin <jyasskin@gmail.com>
Fri, 4 Apr 2008 04:51:19 +0000 (04:51 +0000)
commit2b860db35c5346c216672f94031ecc800dbebf02
treeca61783cde41feaeffa8c217ebafc93aa891f1db
parentba43774d1c496d66c43b1dc3b2aab88c4a7aa64a
Doh! os.read() raises an OSError, not an IOError when it's interrupted.

And fix some flakiness in test_itimer_prof, which could detect that the timer
had reached 0 before the signal arrived announcing that fact.
Lib/test/test_signal.py