Author r.david.murray
Recipients r.david.murray, stein-k
Date 2018-01-07.15:59:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
We generally don't do type checking (see discussions of "duck typing"). We generally do just let the implementation detail bubble up.  I don't think the encoding suggestion works, since we can't know what encoding the byte string is in, or even if it is a valid one.

I wonder if unquote should be polymorphic: accept both bytes and strings and produce the same type of output as its input.  I think there are other urllib methods that are, but I haven't checked.
Date User Action Args
2018-01-07 15:59:32r.david.murraysetrecipients: + r.david.murray, stein-k
2018-01-07 15:59:32r.david.murraysetmessageid: <>
2018-01-07 15:59:32r.david.murraylinkissue32498 messages
2018-01-07 15:59:32r.david.murraycreate