ness01/sympy — comment on commit fecc1f4ee13f9568bc38fa6e34b49330103bbc9d
File: sympy/integrals/transforms.py line 146
By smichr:

do you mean constant, Rational, or Number? You are only pulling out Rational constants with what you've got. Also you don't need to rebuild the Mul, use `Mul._from_args(rest)`.