urlib.quote gives KeyError in Python 2.4.4 but workin 2.3.5

Gabriel Genellina gagsl-py at yahoo.com.ar
Sun Jan 7 14:24:24 EST 2007


On 7 ene, 15:48, "nyenyec" <nyen... at gmail.com> wrote:

> urllib.quote chokes on unicode in 2.4.4.
>>> urllib.quote(u"\xe9")
> KeyError: u'\xe9'
>
> but it seems to work in Python 2.3.5
>
> Is this a known bug?

See some recent posts about "urllib.unquote and unicode"

-- 
Gabriel Genellina




More information about the Python-list mailing list