long integer mapping bug in python2.7
Call and traceback:
from pymbolic.interop.sympy import SympyToPymbolicMapper SympyToPymbolicMapper()(int(10**20))
Traceback (most recent call last):
File "", line 1, in File "/home/beams2/src/pymbolic/pymbolic/interop/sympy.py", line 42, in call return self.rec(expr, *args, **kwargs)
File "/home/beams2/src/pymbolic/pymbolic/interop/sympy.py", line 58, in rec return self.not_supported(expr)
File "/home/beams2/src/pymbolic/pymbolic/interop/sympy.py", line 132, in not_supported return SympyMapper.not_supported(self, expr)
File "/home/beams2/src/pymbolic/pymbolic/interop/sympy.py", line 64, in not_supported type(expr).name))
NotImplementedError: SympyToPymbolicMapper does not know how to map type 'long'