Author pitrou
Recipients amaury.forgeotdarc, barry, eric.araujo, erob, flox, ggenellina, gvanrossum, oopos, pebbe, pitrou, quentel, r.david.murray, tcourbon, tercero12, tobias, v+python
Date 2011-01-05.15:10:52
SpamBayes Score 1.15113e-05
Marked as misclassified No
Message-id <1294240254.36.0.270395632197.issue4953@psf.upfronthosting.co.za>
In-reply-to
Content
> I believe you are right that the io module does not support intermixing 
> calls to the main object and its buffer attribute; that's why detach
> was introduced, I believe.

Writing is ok as long as you call flush() on the text layer when necessary. Reading is not since there's no official way to flush the input buffer on the text layer (assuming some input has been consumed, that is). detach() doesn't do anything special AFAIR.

(this is all funny in the light of the web-sig discussion where people explain that CGI is such a natural model)
History
Date User Action Args
2011-01-05 15:10:54pitrousetrecipients: + pitrou, gvanrossum, barry, amaury.forgeotdarc, ggenellina, eric.araujo, v+python, r.david.murray, oopos, tercero12, tcourbon, tobias, flox, pebbe, quentel, erob
2011-01-05 15:10:54pitrousetmessageid: <1294240254.36.0.270395632197.issue4953@psf.upfronthosting.co.za>
2011-01-05 15:10:52pitroulinkissue4953 messages
2011-01-05 15:10:52pitroucreate