Yes. I may even have filed a ticket for this once. The problem is writing a unit test to prove it&#39;s necessary :)<br><br><div class="gmail_quote">On Fri, Oct 26, 2012 at 12:40 PM, gelin yan <span dir="ltr">&lt;<a href="mailto:dynamicgl@gmail.com" target="_blank">dynamicgl@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All<div><br></div><div>    I just noticed abstract.py from internet/iocpreactor/ has a possible typo:</div><div><br>
</div><div>look at the method<font face="monospace"><span style="font-size:12px"><b style="color:rgb(153,0,0)"> </b>loseConnection</span></font></div>
<div><font face="monospace"><span style="font-size:12px"><b><br></b></span></font></div><div><font face="monospace"><span style="font-size:12px"><div>if self.connected and not self.disconnecting:</div><div>            if self._writeDisconnected:</div>

<div>                # doWrite won&#39;t trigger the connection close anymore</div><div>                self.stopReading()</div><div>                self.stopWriting</div><div>                self.connectionLost(_connDone)</div>

<div>            else:</div><div>                self.stopReading()</div><div>                self.startWriting()</div><div>                self.disconnecting = 1</div><div><br></div><div>in the first part I found </div>
<div>
  self.stopWriting</div><div><br></div><div>Is it a typo for self.stopWriting()?</div><div style="font-weight:bold"><br></div><div><br></div><div>Regards</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>
gelin yan</div></font></span></span></font></div><div><span style="color:rgb(153,0,0);font-size:12px;font-family:monospace;font-weight:bold"><br>
</span></div><div><br></div><div><br></div><div><br></div><div></div>
<br>_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Itamar Turner-Trauring, Future Foundries LLC<br><a href="http://futurefoundries.com/" target="_blank">http://futurefoundries.com/</a> — Twisted consulting, training and support.<br>
<br>