[sage-support] Re: timeit in doc tests / Ellipsis

2008-11-27 Thread Simon King
Dear Michael, On Nov 27, 8:55 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > Interesting trick. But with Sage 3.2 or higher you can actually get > the performance data back from timeit - > seehttp://groups.google.com/group/sage-devel/browse_thread/thread/b91c51... > about the Integral tes

[sage-support] Re: timeit in doc tests / Ellipsis

2008-11-27 Thread mabshoff
On Nov 27, 11:38 am, Simon King <[EMAIL PROTECTED]> wrote: > Dear Michael, Hi Simon, > On Nov 27, 8:26 pm, mabshoff <[EMAIL PROTECTED] > > dortmund.de> wrote: > > Yes. > > Finally I understood something. By the way, it seems to me that this > detail is not described in the documentation (of Sa

[sage-support] Re: timeit in doc tests / Ellipsis

2008-11-27 Thread Simon King
Dear Michael, On Nov 27, 8:26 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > Yes. Finally I understood something. By the way, it seems to me that this detail is not described in the documentation (of Sage :) > > What can I do to change it? > > You doctesting example. Sniff :( But a min

[sage-support] Re: timeit in doc tests / Ellipsis

2008-11-27 Thread mabshoff
On Nov 27, 11:22 am, Simon King <[EMAIL PROTECTED]> wrote: > Dear William, > > I think I finally see where my problem comes from: Is it true that a > line starting with '... ' is considered as a Sage prompt, respectively > as a continuation of the preceding line? Yes. > Hence, apparently the

[sage-support] Re: timeit in doc tests / Ellipsis

2008-11-27 Thread Simon King
Dear William, I think I finally see where my problem comes from: Is it true that a line starting with '... ' is considered as a Sage prompt, respectively as a continuation of the preceding line? I think so, because of the following. In a file foobar.py, I put def f(x): r""" test EXAMPLES:

[sage-support] Re: timeit in doc tests / Ellipsis

2008-11-27 Thread Simon King
Dear William, On Nov 27, 5:28 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > Just out of curiosity, what do you mean by "the documentation"? The Sage documentation. > There is documentation about Python's doctest system here: > > http://www.python.org/doc/2.5.2/lib/module-doctest.html I had

[sage-support] Re: timeit in doc tests / Ellipsis

2008-11-27 Thread William Stein
On Thu, Nov 27, 2008 at 4:00 AM, Simon King <[EMAIL PROTECTED]> wrote: > > Another related question: > Suppose that the output contains three dots (...). How can I make > clear that these three dots are *not* an ellipsis but that I do > expect ... in the output? > > I tried to find something about

[sage-support] Re: timeit in doc tests / Ellipsis

2008-11-27 Thread Simon King
Another related question: Suppose that the output contains three dots (...). How can I make clear that these three dots are *not* an ellipsis but that I do expect ... in the output? I tried to find something about Ellipsis in the documentation, but it doesn't seem to be there. Or is it? Best reg