compute_constants.py: update for python3

this should be python2 compatible, and reproduces the same C code as before modulo changed whitespace
47 jobs for python3-compute_constants.py in 216 minutes and 34 seconds (queued for 6 seconds)
Status Job ID Name Coverage
  .Pre
passed #658452
make-dist

00:07:16

failed #658401
make-dist

00:00:17

 
  Lal
passed #658404
lal:conda:fftw

00:11:50

passed #658405
lal:conda:mkl

00:12:03

passed #658403
lal:deb

00:28:44

passed #658402
lal:rpm

00:18:05

 
  Lal Frame
passed #658408
lalframe:conda

00:10:04

passed #658530
lalframe:deb

00:10:47

passed #658406
lalframe:rpm

00:09:31

failed #658407
lalframe:deb

00:00:09

 
  Lal Meta Io
passed #658411
lalmetaio:conda

00:07:25

passed #658555
lalmetaio:deb

00:10:31

passed #658878
lalmetaio:rpm

00:08:41

failed #658535
lalmetaio:deb

00:00:09

failed #658410
lalmetaio:deb

00:00:09

failed #658556
lalmetaio:rpm

00:10:41

failed #658536
lalmetaio:rpm

00:00:09

failed #658409
lalmetaio:rpm

00:08:00

 
  Lal Simulation
passed #658414
lalsimulation:conda

00:11:26

passed #658537
lalsimulation:deb

00:25:18

passed #658412
lalsimulation:rpm

00:13:08

failed #658413
lalsimulation:deb

00:00:09

 
  Lal Burst
passed #658554
lalburst:conda

00:11:18

passed #658416
lalburst:deb

00:18:50

passed #658415
lalburst:rpm

00:21:29

failed #658538
lalburst:conda

00:00:09

failed #658417
lalburst:conda

00:00:09

 
  Lal Inspiral
passed #658877
lalinspiral:conda

00:13:12

passed #658419
lalinspiral:deb

00:18:40

passed #658418
lalinspiral:rpm

00:14:06

failed #658420
lalinspiral:conda

00:00:09

 
  Lal Pulsar
passed #658539
lalpulsar:conda

00:14:23

passed #658540
lalpulsar:deb

00:24:23

passed #658541
lalpulsar:rpm

00:15:53

failed #658423
lalpulsar:conda

00:10:42

failed #658422
lalpulsar:deb

00:00:09

failed #658421
lalpulsar:rpm

00:13:11

 
  Lal Inference
passed #658426
lalinference:conda

00:17:50

passed #658425
lalinference:deb

00:19:48

passed #658424
lalinference:rpm

00:16:22

 
  Lal Apps
passed #658429
lalapps:conda

00:17:46

passed #658428
lalapps:deb

00:17:22

passed #658427
lalapps:rpm

00:16:33

 
  Documentation
passed #658430
documentation

00:07:00

 
  Integration Tests
passed #658879
top-level

00:42:51

failed #658564
top-level

00:09:41

failed #658431
top-level

00:41:03