擅长:python、mysql、java
<p>每<a href="http://bugs.python.org/issue12523" rel="nofollow">http://bugs.python.org/issue12523</a></p>
<blockquote>
<p>Actually, the error is that in Python 3 you should use bytes objects when transmitting/receiving data over the network, not (unicode) strings.
That is, replace '\r\n' with b'\r\n', etc.</p>
<p>Of course, the error message should be made less obscure.</p>
</blockquote>