New submission from Tyler Starke <prof.eb...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue13460>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to