(compana16) braun:~/git/compana16$ ipython
Python 3.5.2 |Continuum Analytics, Inc.| (default, Jul 2 2016, 17:49:02)
Type "copyright", "credits" or "license" for more information.
IPython 5.1.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import sympy
In [2]: sympy.__version__
Out[2]: '1.0'
In [3]: x = sympy.Symbol('x')
In [4]: a = sympy.Symbol('a', positive=True)
In [5]: f = sympy.exp(x*(-a-1)) * sympy.sinh(x)
In [6]: f.limit(x, sympy.oo)
Out[6]: oo
(compana16) braun:~/git/compana16$ export SYMPY_USE_CACHE='no'
(compana16) braun:~/git/compana16$ ipython
Python 3.5.2 |Continuum Analytics, Inc.| (default, Jul 2 2016, 17:49:02)
Type "copyright", "credits" or "license" for more information.
IPython 5.1.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import sympy
In [2]: sympy.__version__
Out[2]: '1.0'
In [3]: x = sympy.Symbol('x')
In [4]: a = sympy.Symbol('a', positive=True)
In [5]: f = sympy.exp(x*(-a-1))
In [6]: g = sympy.sinh(x)
In [7]: h = f*g
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
/home/braun/miniconda3/envs/compana16/lib/python3.5/site-packages/sympy/core/assumptions.py in getit(self)
240 try:
--> 241 return self._assumptions[fact]
242 except KeyError:
KeyError: 'zero'
During handling of the above exception, another exception occurred:
KeyError Traceback (most recent call last)
/home/braun/miniconda3/envs/compana16/lib/python3.5/site-packages/sympy/core/assumptions.py in getit(self)
240 try:
--> 241 return self._assumptions[fact]
242 except KeyError:
KeyError: 'zero'