Re: [sage-devel] problem using %timeit

2009-12-17 Thread John Cremona
2009/12/16 Craig Citro : >> Hi John -- the offending character is the mu for microseconds. There are >> probably classier fixes, but I edit the ipython source file in my sage >> install. It's one of the ones in the traceback -- I'm on my phone and can't >> look right now. >> > > Line 1778 of $SAGE_

Re: [sage-devel] problem using %timeit

2009-12-16 Thread Craig Citro
> OK, so there's a python (or ipython) source code file which causes > problems when running ipython on some machines.  Should that be > reported as a bug to the python people? > This could probably go upstream to IPython -- I've been meaning to do it once I sit down and figure out whether it's ju

Re: [sage-devel] problem using %timeit

2009-12-16 Thread John Cremona
Thanks for the diagnosis! I tried the same thing on another machine and it worked fine. OK, so there's a python (or ipython) source code file which causes problems when running ipython on some machines. Should that be reported as a bug to the python people? John 2009/12/16 Craig Citro : >> Hi

Re: [sage-devel] problem using %timeit

2009-12-16 Thread Craig Citro
> Hi John -- the offending character is the mu for microseconds. There are > probably classier fixes, but I edit the ipython source file in my sage > install. It's one of the ones in the traceback -- I'm on my phone and can't > look right now. > Line 1778 of $SAGE_ROOT/local/lib/python2.6/site-pac

Re: [sage-devel] problem using %timeit

2009-12-16 Thread Craig Citro
Hi John -- the offending character is the mu for microseconds. There are probably classier fixes, but I edit the ipython source file in my sage install. It's one of the ones in the traceback -- I'm on my phone and can't look right now. -cc On Dec 16, 2009 10:36 AM, "John Cremona" wrote: I have

[sage-devel] problem using %timeit

2009-12-16 Thread John Cremona
I have defined a function in external .sage file which I load. Then I test it using %timeit. But an error is raised: UnicodeEncodeErrorTraceback (most recent call last) /home/jec/.sage/temp/selmer/11222/_home_jec_agm_sage_3.py in () /home/jec/sage-4.3.rc0/local/lib/pyth