In message <mailman.200.1188571375.28954.python-list at python.org>, Miles wrote: > except IOError, e: > if e.args[0] == 35: Why not except IOError, (ErrNo, Msg) : if ErrNo == errno.EAGAIN :