Mercurial > p > roundup > code
diff scripts/imapServer.py @ 5655:207e0f5d551c
Merge in non-conflicting changes from ba67e397f063
including workaround for:
https://bugs.python.org/issue27777
1) cgi/client.py: override cgi.FieldStorage's make_file so that file
is always created in binary/byte mode. This means that json (and
xml) are bytes not strings.
2) rest.py: try harder to find dicttoxml in roundup directory or on
sys.path. This just worked under python 2 but python 3 only
searches sys.path by default and does not search relative like
python 2.
3) test/rest_common.py: workaround for issue27777
Also removed an unneeded case insensitive dict implementation.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 18 Mar 2019 21:42:33 -0400 |
| parents | 4cf48ff01e04 |
| children | b5fffd2a64af |
