[Twisted-Python] Is it a typo in abstract.py ?

Itamar Turner-Trauring itamar at futurefoundries.com
Fri Oct 26 13:34:31 EDT 2012


Yes. I may even have filed a ticket for this once. The problem is writing a
unit test to prove it's necessary :)

On Fri, Oct 26, 2012 at 12:40 PM, gelin yan <dynamicgl at gmail.com> wrote:

> Hi All
>
>     I just noticed abstract.py from internet/iocpreactor/ has a possible
> typo:
>
> look at the method* *loseConnection
> *
> *
> if self.connected and not self.disconnecting:
>             if self._writeDisconnected:
>                 # doWrite won't trigger the connection close anymore
>                 self.stopReading()
>                 self.stopWriting
>                 self.connectionLost(_connDone)
>             else:
>                 self.stopReading()
>                 self.startWriting()
>                 self.disconnecting = 1
>
> in the first part I found
>   self.stopWriting
>
> Is it a typo for self.stopWriting()?
>
>
> Regards
>
> gelin yan
>
>
>
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>


-- 
Itamar Turner-Trauring, Future Foundries LLC
http://futurefoundries.com/ — Twisted consulting, training and support.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20121026/38b0888a/attachment.htm 


More information about the Twisted-Python mailing list