sympy/sympy — pull request #1049 by smichr (2012-02-12 19:10:12+00:00)
Title: _keep_coeff,gcd-terms and factor_terms have option to not clear denomina...

...tors

In order to allow Rationals to not be extracted from an Add when there
are some terms that have Integer coefficients, the 'clear' option
has been added. Since factor_terms depends on gcd_terms which depends
on _keep_coeff, this option was added to all 3 routines.