pyranha: no need to go through the string conversion with the new rational class, just construct from num/den.