Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset fddbe9a59d26 by Senthil Kumaran in branch '3.2':
Fix the wrong urllib exampls which use str for POST data. Closes Issue11261
http://hg.python.org/cpython/rev/fddbe9a59d26
New changeset 0345dc184e9a by Senthil
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11261
___
New submission from David Phillips david.193.phill...@gmail.com:
The following code works on python 3.1.3 but fails on Python 3.2rc2
(r32rc2:88269, Jan 30 2011, 14:30:28). (I run Mac OS X, version 10.6.6.)
-
import urllib, urllib.request, urllib.error, urllib.parse
Changes by Ned Deily n...@acm.org:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11261
___
___
Python-bugs-list mailing list
Senthil Kumaran orsent...@gmail.com added the comment:
On Sun, Feb 20, 2011 at 10:07:31PM +, David Phillips wrote:
The following code works on python 3.1.3 but fails on Python 3.2rc2
(r32rc2:88269, Jan 30 2011, 14:30:28). (I run Mac OS X, version
10.6.6.)
Is that a real world code? (As
David Phillips david.193.phill...@gmail.com added the comment:
Converting the type of my variable form from string to bytes did, indeed,
allow the code to run, but I have to wonder about changing the inputs to
urlopen like this.
The 3.1.3 docs call for the data parameter to be string, and I
Georg Brandl ge...@python.org added the comment:
Quite a few docs still say string where in fact bytes are expected in Python
3.x; we're updating these as we go along.
--
assignee: - docs@python
components: +Documentation -Library (Lib)
nosy: +docs@python, georg.brandl
Changes by Georg Brandl ge...@python.org:
--
type: crash - behavior
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11261
___