[Twisted-Python] Could this be an error in pcp.py?
mailing_lists at evotex.ch
Thu Apr 24 02:25:35 EDT 2008
Jean-Paul Calderone wrote:
> On Wed, 23 Apr 2008 17:30:17 +0200, Gabriel Rossetti
> <mailing_lists at evotex.ch> wrote:
>>> If bytesSent == len(data), then the else case is taken and the
>>> buffer is
>>> empty. I'm not really sure what you're getting at.
>> Ok, I must be way off, because as I see it bytesSent < len(data) is
>> never true.
> Ah. Yes, you're right. I'm not sure why this code is written this
> way. It's
> pretty old and I haven't used it much myself. I don't know if this
> means there
> is a bug or not. If you think there is one, the next step is to write
> a unit
> test. :)
Ok, I'll do that as soon as possible :-)
More information about the Twisted-Python