View Revisions: Issue #11

Summary 0000011: [PATCH] guicast/bccmdl.py is not Python 3 compatible
Revision 2018-12-06 20:26 by Sam
Additional Information The patched bccmdl.py, whether run in Python 2 or Python 3, produces a set of files completely identical to the files output by the unpatched version when executed as python2.7 < bccmdl.py.


$ git checkout master
Switched to branch 'master'
Your branch is up to date with 'origin/master'.

$ python2.7 < bccmdl.py; cp -Rp xfer xfer-old

$ git checkout bccmdl-py3

$ python3 < bccmdl.py; cp -Rp xfer xfer-newpy3

$ python2.7 < bccmdl.py; cp -Rp xfer xfer-newpy2

$ diff -rq xfer-old xfer-newpy3; echo $?
0

$ diff -rq xfer-old xfer-newpy2; echo $?
0

Revision 2018-12-04 05:52 by ferdnyc
Additional Information The patched bccmdl.py, whether run in Python 2 or Python 3, produces a set of files completely identical to the files output by the unpatched version when executed as python2.7 < bccmdl.py.


$ git checkout master
Switched to branch 'master'
Your branch is up to date with 'origin/master'.

$ python2.7 < bccmdl.py; cp -Rp xfer xfer-old

$ git checkout bccmdl-py3

$ python3 < bccmdl.py; cp -Rp xfer xfer-newpy3

$ python2.7 < bccmdl.py; cp -Rp xfer xfer-newpy2

$ diff -rq xfer-old xfer-newpy3; echo $?
0

$ diff -rq xfer-old xfer-newpy2; echo $?
0