I was checking to see if 'f' is not of type Poly...if not I convert the
expression into Poly and extract the result. Kindly, let me know if it's a
wrong approach.

Regards
Sandeep


On Fri, Apr 12, 2013 at 5:15 PM, Tom Bachmann <notifications@github.com>wrote:

> In sympy/polys/polytools.py:
>
> > @@ -3669,9 +3669,16 @@ def __pow__(f, n):
> >
> >      @_sympifyit('g', NotImplemented)
> >      def __divmod__(f, g):
> > +        if not f.is_Poly:
>
> ... how can this ever happen?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/sympy/sympy/pull/2005/files#r3770658>
> .
>



-- 
Sandeep Dasika
BITS, Pilani
+91 7829417850