[Ohrrpgce] SVN: teeemcee/11615 Port all .py scripts to support Python 2 and 3. Based on patch by Daniel

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Fri Feb 28 15:31:49 PST 2020


teeemcee
2020-02-28 15:31:48 -0800 (Fri, 28 Feb 2020)
600
Port all .py scripts to support Python 2 and 3. Based on patch by Daniel Wurl.

This is useful on systems where 'python' is Python 3 rather than Python 2.

This doesn't including .py scripts in web/ or tools/.

A made a lot of changes to the patch, since it ported to Py 3 dropping Py 2,
didn't include many .py files, and I reversed or simplified some changes.  In
particular pyPEG.py required significant changes. I don't know whether pyPEG.py
still supports unicode grammars properly while run under Python 2, but we never
used that anyway. It doesn't have a problem with utf8 text in .rbas files.
---
U   wip/SConscript
U   wip/autotest.py
U   wip/hspeaktest.py
U   wip/linux/ohr_debian.py
U   wip/linux/ohrrpgce.py
U   wip/misc/releases.py
U   wip/misc/sl_lookup.py
U   wip/ohrbuild.py
U   wip/reloadbasic/pyPEG.py
U   wip/reloadbasic/reloadbasic.py
U   wip/reloadbasic/xmlast.py
U   wip/testgame/benchmark.py
U   wip/whatsnew.txt


More information about the Ohrrpgce mailing list