Merge remote-tracking branch 'origin/dmw'

* origin/dmw:
  issue #667: fix inverted test for Waker write() failure.
new-serialization
David Wilson 5 years ago
commit c289b1699d

@ -2801,7 +2801,7 @@ class Waker(Protocol):
self.stream.transmit_side.write(b(' '))
except OSError:
e = sys.exc_info()[1]
if e.args[0] in (errno.EBADF, errno.EWOULDBLOCK):
if e.args[0] not in (errno.EBADF, errno.EWOULDBLOCK):
raise
broker_shutdown_msg = (

Loading…
Cancel
Save