urllib.unquote and unicode
"Martin v. Löwis"
martin at v.loewis.de
Fri Dec 22 10:28:28 EST 2006
Duncan Booth schrieb:
> So you believe that because something is only recommended by a standard
> Python should refuse to implement it?
Yes. In the face of ambiguity, refuse the temptation to guess.
This is *deeply* ambiguous; people have been using all kinds of
encodings in http URLs.
> You don't seem to have realised yet, but my objection to the behaviour of
> urllib.unquote is precisely that it does guess, and it guesses wrongly.
Yes, it seems that this was a bad move.
Regards,
Martin
More information about the Python-list
mailing list