http://hg.code.sf.net:8000/p/roundup/code/atom-log/tip/roundup/anypy/xmlrpc_.py Mercurial Repository: p/roundup/code: roundup/anypy/xmlrpc_.py history 2024-12-29T19:48:42-05:00 issue2551116 - difusedxml support - python2 fixups. http://hg.code.sf.net:8000/p/roundup/code/#changeset-05405220dc384a604e5a8c30de9ee98f873af9a6 John Rouillard rouilj@ieee.org 2024-12-29T19:48:42-05:00 2024-12-29T19:48:42-05:00
changeset 05405220dc38
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description issue2551116 - difusedxml support - python2 fixups.

Make sure python2 code path sets client.defusedxml so the code can
still run.

Bomb tests fail under python2. So disable test under python 2. In the
past it was due to string/byte type difference. Not worth fixing the
tests since python 2 support dropped.
files
issue2551116 - Replace xmlrpclib (xmlrpc.client) with defusedxml. http://hg.code.sf.net:8000/p/roundup/code/#changeset-57325fea99826845b4b8f2e8baaaf4eaeea59e48 John Rouillard rouilj@ieee.org 2024-12-29T19:11:01-05:00 2024-12-29T19:11:01-05:00
changeset 57325fea9982
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description issue2551116 - Replace xmlrpclib (xmlrpc.client) with defusedxml.

defusedxml will be used to moneypatch the problematic client and
server modules.

Test added using an xml bomb.
files
chore: sort imports. http://hg.code.sf.net:8000/p/roundup/code/#changeset-7b33365ccb2aa94872189b1ddf9bac5e73b8adda John Rouillard rouilj@ieee.org 2024-03-24T14:39:23-04:00 2024-03-24T14:39:23-04:00
changeset 7b33365ccb2a
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description chore: sort imports.
files
flake8 fixes: ignore import unused in python3. http://hg.code.sf.net:8000/p/roundup/code/#changeset-99d4fb22aa65661c0122631d04fb0add8736947c John Rouillard rouilj@ieee.org 2020-01-11T16:42:45-05:00 2020-01-11T16:42:45-05:00
changeset 99d4fb22aa65
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description flake8 fixes: ignore import unused in python3.
files
Fix xmlrpc module selection for incomplete backport (issue2551010). http://hg.code.sf.net:8000/p/roundup/code/#changeset-db10c0a1f33885fc5c9abddeaecc3bc7857e3911 Gabi gabriele.roeger@unibas.ch 2018-11-11T17:04:59+00:00 2018-11-11T17:04:59+00:00
changeset db10c0a1f338
branch
bookmark
tag
user Gabi <gabriele.roeger@unibas.ch>
description Fix xmlrpc module selection for incomplete backport (issue2551010).
files
Python 3 preparation: update xmlrpclib / SimpleXMLRPCServer imports. http://hg.code.sf.net:8000/p/roundup/code/#changeset-e46ce04d5bbcecc7b7dfc3f057118a8f7e33576c Joseph Myers jsm@polyomino.org.uk 2018-07-25T00:16:00+00:00 2018-07-25T00:16:00+00:00
changeset e46ce04d5bbc
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: update xmlrpclib / SimpleXMLRPCServer imports.

New roundup/anypy/xmlrpc_.py added. Manual patch.
files