See, https://github.com/sympy/sympy/pull/7520/files#r13030543