Made proposed changes
polys: Improvements to PolyElement.{__call__, evaluate, subs, compose}()
Merge branch 'master' into 3128_Sum_Product_Simplification
polys: Raise an error when polynomial ring and it's domain share generators
Typo
Add additional test for KanesMethod.

Add an additional test for KanesMethod that checks if the calculated
generalized inertia forces are equivalent whether the inertia for rigid
bodies is set about the mass center or an arbitraty point.
in ``_test_pl`` changed the case ``q == 0`` to allow factorization with
``fc = 0``
Code quality improved
Tests updated for Products
Dealt with most of the diff comments
Merge pull request #2205 from skirpichev/3902-piecewise_fold

simplify(): Call piecewise_fold for expr with Piecewise (issue 3902)
remove is_finite from Add.flatten
remove is_finite from limits
remove is_finite from core/numbers.py
Check proposition argument of ask() for junk input (issue 3906)
issue 2451
Merge pull request #2211 from mrocklin/remove_is_finite

Remove is_finite
issue 2451
Did away with the .is_Add if-else block

It returns only trivial solutions for Mul and Pow cases
Merge pull request #2207 from pradyu1993/iss2451

Iss2451