[Python-bugs-list] [Bug #119822] urllib doesn't like unicode
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 31 Oct 2000 20:40:36 -0800
Bug #119822, was updated on 2000-Oct-30 17:12
Here is a current snapshot of the bug.
Project: Python
Category: Modules
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: urllib doesn't like unicode
Details:
getting a file via urllib.urlopen(u"http://foobar/blahblah")
produces undesirable results.
Something like:
File "/usr/local/lib/python2.0/urllib.py", line 61, in urlopen
return _urlopener.open(url)
File "/usr/local/lib/python2.0/urllib.py", line 166, in open
return getattr(self, name)(url)
File "/usr/local/lib/python2.0/urllib.py", line 248, in open_http
host, selector = url
ValueError: unpack sequence of wrong size
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=119822&group_id=5470