fish-shell/fish-shell — pull request #287 by simukis (2012-08-19 20:25:08+00:00)
Title: Issue #265 – Fix webserver arguments handling in python3

In both in python2 and python3 parse_qs expects str object. In
python2 it worked ok, because self.rfile was open in binary mode and
str in python2 is actually a string of bytes. However in python3 str is
actually string of unicode literals, not bytes and file was still open
in binary mode. Thus, deleting any file with non-ascii byte inside
filename failed in python3.

Cleaned a lot unnecessary code and fixed some deprecated
dependencies too.

Tests done manually with python2.7 and python3.2.