smichr/sympy — comment on commit 654a7ee9e442ae84c1c712d7f0250d95c425566c
File: sympy/simplify/simplify.py line 1150
By smichr:

it can be hobbled together with existing behavior, but it might be nice to have a ZZ or QQ option for terms_gcd to control what coeff gets pulled out.