Author serhiy.storchaka
Recipients ajaksu2, christian.heimes, eric.araujo, ezio.melotti, mastrodomenico, orsenthil, serhiy.storchaka
Date 2012-05-28.11:16:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338203797.35.0.449650885282.issue4733@psf.upfronthosting.co.za>
In-reply-to
Content
If you add the encoding parameter, you should also add at least errors and newline parameters. And why not just use io.TextIOWrapper?

page.decode_content() bad that compels to read and to decode at once all of the data, while io.TextIOWrapper returns a file-like object and allows you to read line-by-line or by other pieces.
History
Date User Action Args
2012-05-28 11:16:37serhiy.storchakasetrecipients: + serhiy.storchaka, orsenthil, christian.heimes, ajaksu2, ezio.melotti, eric.araujo, mastrodomenico
2012-05-28 11:16:37serhiy.storchakasetmessageid: <1338203797.35.0.449650885282.issue4733@psf.upfronthosting.co.za>
2012-05-28 11:16:36serhiy.storchakalinkissue4733 messages
2012-05-28 11:16:36serhiy.storchakacreate