mirror of https://github.com/python/cpython
This fixes a small inconsistency between trunk and 3.0, closing bug 3764.
This commit is contained in:
parent
a853a89dc3
commit
1680b8c16c
|
@ -102,7 +102,7 @@ def readwrite(obj, flags):
|
|||
if flags & (select.POLLERR | select.POLLNVAL):
|
||||
obj.handle_expt_event()
|
||||
if flags & select.POLLHUP:
|
||||
obj.handle_close()
|
||||
obj.handle_close_event()
|
||||
except (ExitNow, KeyboardInterrupt, SystemExit):
|
||||
raise
|
||||
except:
|
||||
|
|
Loading…
Reference in New Issue