Message309625
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:32 | r.david.murray | set | recipients:
+ r.david.murray, stein-k |
2018-01-07 15:59:32 | r.david.murray | set | messageid: <1515340772.76.0.467229070634.issue32498@psf.upfronthosting.co.za> |
2018-01-07 15:59:32 | r.david.murray | link | issue32498 messages |
2018-01-07 15:59:32 | r.david.murray | create | |
|