[Python-bugs-list] [Bug #119822] urllib doesn't like unicode

noreply@sourceforge.net noreply@sourceforge.net
Sun, 12 Nov 2000 03:07:24 -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

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


Date: 2000-Nov-12 03:07
By: loewis

A patch for that bug is in http://sourceforge.net/patch/?func=detailpatch&patch_id=102364&group_id=5470

For detailed info, follow this link: