fcntl problems

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Fri Aug 31 19:19:37 EDT 2007


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 :



More information about the Python-list mailing list