J
John Nagle
Does Python 3.x support Unicode-named attributes?
There are several modules which operate on HTML and try to
hammer HTML/XML into Python object attributes. I've had
BeautifulSoup and "urllib" blow up at various times when
running on non-English HTML/XML.
Got this error today:
urllib.py:1197: UnicodeWarning: Unicode equal comparison failed to convert both
arguments to Unicode - interpreting
them as being unequal
res = map(safe_map.__getitem__, s)
John Nagle
There are several modules which operate on HTML and try to
hammer HTML/XML into Python object attributes. I've had
BeautifulSoup and "urllib" blow up at various times when
running on non-English HTML/XML.
Got this error today:
urllib.py:1197: UnicodeWarning: Unicode equal comparison failed to convert both
arguments to Unicode - interpreting
them as being unequal
res = map(safe_map.__getitem__, s)
John Nagle