Python3: Apply 2to3 numliterals

See merge request !1671
6 jobs for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds