Message303110
It looks like somewhere in your application a deque object is being passed where a socket was expected. The easiest way to find the culprit is to edit the class SocketIO in Lib/socket.py:
def __init__(self, sock, mode):
if mode not in ("r", "w", "rw", "rb", "wb", "rwb"):
raise ValueError("invalid mode: %r" % mode)
io.RawIOBase.__init__(self)
self._sock = sock
+ assert not isinstance(sock, deque) |
|
Date |
User |
Action |
Args |
2017-09-27 07:34:05 | rhettinger | set | recipients:
+ rhettinger, reidfaiv |
2017-09-27 07:34:05 | rhettinger | set | messageid: <1506497645.66.0.154975027568.issue31591@psf.upfronthosting.co.za> |
2017-09-27 07:34:05 | rhettinger | link | issue31591 messages |
2017-09-27 07:34:05 | rhettinger | create | |
|