This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author orsenthil
Recipients ajaksu2, christian.heimes, eric.araujo, ezio.melotti, mastrodomenico, orsenthil
Date 2011-10-20.03:52:04
SpamBayes Score 3.415891e-06
Marked as misclassified No
Message-id <1319082724.72.0.689740401568.issue4733@psf.upfronthosting.co.za>
In-reply-to
Content
- page.encoding is a good idea.

- page.decode_content sounds definitely better than page.decode which can be confusing as page is not a bytes object, but a file-like object.

I am thinking if an attribute to urlopen would be better? Not exactly the mode like attribute of the builtin open, but something like decoded=False

The downside is that the attr is now for the implementation detail of the method in py3k and upside is it gives an idea to users as what return value they can/should expect.
History
Date User Action Args
2011-10-20 03:52:04orsenthilsetrecipients: + orsenthil, christian.heimes, ajaksu2, ezio.melotti, eric.araujo, mastrodomenico
2011-10-20 03:52:04orsenthilsetmessageid: <1319082724.72.0.689740401568.issue4733@psf.upfronthosting.co.za>
2011-10-20 03:52:04orsenthillinkissue4733 messages
2011-10-20 03:52:04orsenthilcreate