Update compute_constants.py for python3
Description
This MR closes #272 (closed), updating compute_constants.py
for python3. The new script still works in python2, and produces the same C code as before modulo whitespace changes.
API Changes and Justification
Backwards Compatible Changes
-
This change introduces no API changes -
This change adds new API calls
Backwards Incompatible Changes
-
This change modifies an existing API -
This change removes an existing API
If any of the Backwards Incompatible check boxes are ticked please provide a justification why this change is necessary and why it needs to be done in a backwards incompatible way.
Review Status
@jolien-creighton should review.