Fix case where Python returns number as `\d+L`