擅长:python、mysql、java
<p>错误似乎在<code>/usr/lib/python3.2/asynchat.py|initiate_send|245</code>中引发。在</p>
<pre><code>def initiate_send(self):
while self.producer_fifo and self.connected:
first = self.producer_fifo[0]
...
try:
data = buffer(first, 0, obs)
except TypeError:
data = first.more() < - here
</code></pre>
<p>好像有人在<code>self.producer_fifo</code>中放了一个字符串,而不是<code>asyncchat.simple_producer</code>,这是{<cd4>}中唯一使用<code>more()</code>方法的类。在</p>