[issue10343] urllib.parse problems with bytes vs str

2010-11-06 Thread R. David Murray
R. David Murray added the comment: I believe this is effectively a duplicate of issue 9873. If not, it is still probably more appropriate to add commentary there rather than have a separate bug here. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected sta

[issue10343] urllib.parse problems with bytes vs str

2010-11-06 Thread Hallvard B Furuseth
New submission from Hallvard B Furuseth : urlunparse(url or params = bytes object) produces a result with the repr of the bytes object. urllib.parse.urlunparse(['http', 'host', '/dir', b'params', '', '']) --> "http://host/dir;b'params'" That's confusing since urllib/parse.py goes to a lot of tr