Senthil Kumaran <orsent...@gmail.com> added the comment:

Here is the patch with addressing the comments.
1. It should be TypeError instead of ValueError when str is rejected. We 
introduced ValueError for this release only, so there is no breakage here.
2. Informed the user that string should be encoded to bytes using 
user-specified encoding before it is sent as POST data. Also pointed to 
Examples in the urllib.request section. ( I could not hyperlink directly to 
#examples section. If that is possible, it would be better).

----------
Added file: http://bugs.python.org/file20740/Issue11082-2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11082>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to