Re: Issue 3046 in sympy: divmod method needed for Rational

2012-03-21 Thread sympy
Updates: Status: Fixed Comment #4 on issue 3046 by smi...@gmail.com: divmod method needed for Rational http://code.google.com/p/sympy/issues/detail?id=3046 Now, divmod(Rational(1,2), 2) (0, 1/2) -- You received this message because you are subscribed to the Google Groups

Re: Issue 3046 in sympy: divmod method needed for Rational

2012-02-15 Thread sympy
Comment #1 on issue 3046 by smi...@gmail.com: divmod method needed for Rational http://code.google.com/p/sympy/issues/detail?id=3046 https://github.com/sympy/sympy/pull/1054 When divmod(2, S(3)) is called, Python passes the call off to Integer.__rdivmod__ because S(3) is an Integer. The

Re: Issue 3046 in sympy: divmod method needed for Rational

2012-02-15 Thread sympy
Updates: Labels: NeedsReview smichr Comment #2 on issue 3046 by smi...@gmail.com: divmod method needed for Rational http://code.google.com/p/sympy/issues/detail?id=3046 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google

Issue 3046 in sympy: divmod method needed for Rational

2012-02-06 Thread sympy
Status: Accepted Owner: Labels: Type-Defect Priority-Medium New issue 3046 by smi...@gmail.com: divmod method needed for Rational http://code.google.com/p/sympy/issues/detail?id=3046 It appears we don't have divmod implemented for Rational divmod(Rational(1,2), 2) Traceback (most recent