This is because of https://code.google.com/p/sympy/issues/detail?id=1973.
You can always force an integer literal to be an int by wrapping it in int(), so Out[int(23)] should work. Aaron Meurer On Sat, Sep 21, 2013 at 3:40 AM, F. B. <[email protected]> wrote: > I was trying to access the history of my isympy session, isympy had been > called with the -I parameter: > > Out[23] > --------------------------------------------------------------------------- > KeyError Traceback (most recent call last) > <ipython-input-41-cf8df9fd2a29> in <module>() > ----> 1 Out [Integer (23 )] > > KeyError: 23 > > > 23 gets converted to Integer and it is unable to find the corresponding > int(23) key in the Out dict. Should this be classified as a bug? > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
