Message161768
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. |
|
Date |
User |
Action |
Args |
2012-05-28 11:16:37 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, orsenthil, christian.heimes, ajaksu2, ezio.melotti, eric.araujo, mastrodomenico |
2012-05-28 11:16:37 | serhiy.storchaka | set | messageid: <1338203797.35.0.449650885282.issue4733@psf.upfronthosting.co.za> |
2012-05-28 11:16:36 | serhiy.storchaka | link | issue4733 messages |
2012-05-28 11:16:36 | serhiy.storchaka | create | |
|