Author pitrou
Recipients cbay, giampaolo.rodola, janssen, pitrou, r.david.murray, vstinner
Date 2010-03-30.16:46:46
SpamBayes Score 0.00593531
Marked as misclassified No
Message-id <1269967719.3440.37.camel@localhost>
In-reply-to <1269967401.36.0.387374361347.issue8240@psf.upfronthosting.co.za>
Content
> If socket.write() returns zero byte written, I'll have to wait until I
> get another chance to send my buffer. But in the meantime, some more
> data might get appended to the buffer, and the string returned by
> getvalue() will be different from the first call (and thus, I can't
> really cache it).
> 
> I could find some tricks (like using multiple buffers), but it would
> be ugly.

Right. I think we should somehow support your use case, but I'm not sure
whether it should be the default.
History
Date User Action Args
2010-03-30 16:46:48pitrousetrecipients: + pitrou, janssen, vstinner, giampaolo.rodola, r.david.murray, cbay
2010-03-30 16:46:46pitroulinkissue8240 messages
2010-03-30 16:46:46pitroucreate