- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | rhettinger |
|---|---|
| Recipients | reidfaiv, rhettinger |
| Date | 2017-09-27.07:34:05 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1506497645.66.0.154975027568.issue31591@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
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) |
| History | |||
|---|---|---|---|
| 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 |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
