[Python-checkins] r80092 - python/branches/py3k/Doc/library/urllib.request.rst
orsenthil at gmail.com
Thu Apr 22 13:08:39 CEST 2010
On Sat, Apr 17, 2010 at 9:35 PM, R. David Murray <rdmurray at bitdance.com> wrote:
> Senthil, I think that we are in general considering Python 3 a "clean
> start", and avoiding mentioning how things were done in Python 2 except
> where it is important for compatibility (eg: pickle). I think the
> mention of how Python 2 did it actually muddies the explanation of how
> one should do it. I would either drop the mention of Python 2, or
> move it to a footnote (I favor just dropping it).
> How about this:
> Note that urlopen returns a bytes object. This is because there is no way
> for urlopen to automatically determine the encoding of the byte stream
> it receives from the http sever. In general, a program will decode
> the returned bytes object to string once it determines or guesses
> the appropriate encoding.
I addressed this one and Ezio's review comments r80346.
More information about the Python-checkins