On Wed, Jan 22, 2014 at 07:07:39PM -0800, Christopher Smith wrote:
>    In sympy/series/order.py:
> 
>  > @@ -373,7 +373,11 @@ def _eval_subs(self, old, new):
>  >              else:
>  >                  newvars = tuple(newexpr.free_symbols) + \
>  >                      self.variables[:i] + self.variables[i + 1:]
>  > -                newpt = self.point[0]**(new.as_numer_denom()[1].is_number*2 - 1)
>  > +                p = new.as_numer_denom()[1].is_number*2 - 1
> 
>    perhaps -> p = int(new.as_numer_denom()[1].is_number)? Although
> 
>  >>> timeit('int(True)')
>  0.59091932119206148
>  >>> timeit('2*True-1')
>  0.2318110346022646

I don't want to touch this part too much before #2427.