This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients djc, eric.araujo, ezio.melotti, flox, orsenthil, ysj.ray
Date 2010-07-31.05:18:45
SpamBayes Score 0.0011919969
Marked as misclassified No
Message-id <1280553528.88.0.497575133703.issue9301@psf.upfronthosting.co.za>
In-reply-to
Content
> All the quote*/unquote* functions accept both str and bytes (except quote_from_bytes).

According to the documentation [0] unquote() only accepts str (not bytes), so checking for b'' in "if string in (b'', '')" seems wrong to me, especially if then it returns b''.

[0]: http://docs.python.org/dev/py3k/library/urllib.parse.html#urllib.parse.unquote
History
Date User Action Args
2010-07-31 05:18:49ezio.melottisetrecipients: + ezio.melotti, orsenthil, djc, eric.araujo, flox, ysj.ray
2010-07-31 05:18:48ezio.melottisetmessageid: <1280553528.88.0.497575133703.issue9301@psf.upfronthosting.co.za>
2010-07-31 05:18:47ezio.melottilinkissue9301 messages
2010-07-31 05:18:46ezio.melotticreate