_eval_is_zero implemented for Pow class, fixes issue #7965

On Mon, Sep 15, 2014 at 12:16:29PM -0700, Raj wrote:
>    In sympy/core/power.py:
> 
>  > +            elif self.exp.is_complex:
>  > +                return None
>  > +        elif self.base.is_nonzero:
>  > +            if (abs(self.base)-1).is_negative:
>  > +                if (self.exp is S.NegativeInfinity):
>  > +                    return False
>  > +                elif (self.exp is S.Infinity):
>  > +                    return True
>  > +                else:
>  > +                    return False
>  > +            elif self.base is S.One:
>  > +                    return False
>  > +            elif (abs(self.base)-1).is_positive:
>  > +                if (self.exp is S.NegativeInfinity):
>  > +                              return True
>  > +            elif self.exp is S.NegativeInfinity:
> 
>    In my vim editor its showing fine (I dont know why), but last commit
>    considers that.

See expandtab option.

> 
>    —
>    Reply to this email directly or [1]view it on GitHub.
> 
> References
> 
>    Visible links
>    1. https://github.com/sympy/sympy/pull/8032/files#r17562645