Martin Panter added the comment: Thanks for the report and patch. Would you be interested in making a new regression test for this bug?
While we are fixing this code, we might as well simplify that whole “if” block to [rest, query] = rest.partition("?") ---------- components: +Library (Lib) nosy: +martin.panter stage: -> patch review versions: +Python 2.7, Python 3.4, Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25232> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com