sympy/sympy — pull request #8465 by cbm755 (2014-11-17 22:45:41+00:00)
Title: [help needed] Piecewise: check if input is already a ExprCondPair

Should fix `S(srepr(p)) == p` where `p` is a Piecewise.

If the Piecewise() gets an existing ExprCondPair it should not try
to deference it like a Tuple to build a new ExprCondPair. Rather
it should just use the ExprCondPair.

But help! It doesn't work...