From: Mark Wooding Date: Tue, 1 Oct 2019 22:57:28 +0000 (+0100) Subject: mdwsetup.py: Fixes for Python 3 compatibility. X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/commitdiff_plain/4e2368592f2b964ccd971ebf73c7b4268df5d666?hp=4e2368592f2b964ccd971ebf73c7b4268df5d666 mdwsetup.py: Fixes for Python 3 compatibility. * Write parentheses around `print' operands. * Set `universal_newlines' on in `Popen' to force handling in text mode. * Use an unpleasant hack to inject the `CommandClass' metaclass, because the official syntax is so different between the two versions. ---