[issue11261] urlopen breaks when data parameter is used.

2012-03-14 Thread Roundup Robot
Roundup Robot 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 Kumaran in branch 'default': cpython:Fi

[issue11261] urlopen breaks when data parameter is used.

2011-11-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue11261] urlopen breaks when data parameter is used.

2011-02-20 Thread Georg Brandl
Changes by Georg Brandl : -- type: crash -> behavior versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue11261] urlopen breaks when data parameter is used.

2011-02-20 Thread Georg Brandl
Georg Brandl 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

[issue11261] urlopen breaks when data parameter is used.

2011-02-20 Thread David Phillips
David Phillips 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 presume that has been the

[issue11261] urlopen breaks when data parameter is used.

2011-02-20 Thread Senthil Kumaran
Senthil Kumaran 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 in used in produc

[issue11261] urlopen breaks when data parameter is used.

2011-02-20 Thread Ned Deily
Changes by Ned Deily : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue11261] urlopen breaks when data parameter is used.

2011-02-20 Thread David Phillips
New submission from David Phillips : 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 form = urllib.parse.urlenco