• Guido van Rossum's avatar
    Fix an old bug in poll(). When a signal is handled while we're · e94d8fab
    Guido van Rossum yazdı
    blocked in select(), this will raise select.error with errno set to
    EINTR.  The except clauses correctly ignores this error, but the rest
    of the logic will then call read() for all objects in select's *input*
    list of read file descriptors.  Then when an object's read_handler()
    is naive, it will call recv() on its socket, which will raise an
    IOError, and then asyncore decides to close the socket.  To fix this,
    we simply return in this case.
    
    Backport candidate.
    e94d8fab
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...