[New-bugs-announce] [issue13460] urllib methods should demand unicode, instead demand str
Tyler Starke
report at bugs.python.org
Wed Nov 23 02:34:37 CET 2011
New submission from Tyler Starke <prof.ebral at gmail.com>:
It seems bad practice for urllib methods to demand a str instance and they should demand a unicode instance. By demanding a str instance the default behavior is too demanding, for the web space it is being used, for the English language. We would want Python to extend beyond English when it uses urllib
Currently I am encoding the unicode passed with 'utf-8' and that works.
----------
components: Library (Lib), Unicode
messages: 148165
nosy: Tyler.Starke, ezio.melotti
priority: normal
severity: normal
status: open
title: urllib methods should demand unicode, instead demand str
type: behavior
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13460>
_______________________________________
More information about the New-bugs-announce
mailing list