[Twisted-Python] Looking for some advice debugging issue with transport.write calls

Itamar Turner-Trauring itamar at itamarst.org
Mon Apr 27 18:26:54 MDT 2015


 

self.in_send_message seems like a potential source of bugs (can't see it
being set to False on all branches here) and is also likely unnecessary.


General advice: 

1. Simplify, simplify, simplify. 

2. Unit tests (see
https://twistedmatrix.com/documents/current/core/howto/trial.html). 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20150427/2fe6a7a4/attachment-0002.html>


More information about the Twisted-Python mailing list