Python 2 will reach its end of life on the new year. We don't have a lot of work to port scripts.
Attached is a patch updating what is needed. I used the opportunity to fix the bugs that I found.
What is missing:
- I didn't bother with the userreport server which is completely outdated. @vladislavbelov will upload the current code for the server at some point.
- I should use the opportunity to set svn:executable on some files.