[sage-devel] Re: doctesting cython

2008-09-10 Thread John Cremona
2008/9/10 John Cremona <[EMAIL PROTECTED]>: > 2008/9/9 William Stein <[EMAIL PROTECTED]>: >> >> On Tue, Sep 9, 2008 at 2:59 PM, John Cremona <[EMAIL PROTECTED]> wrote: >>> >>> Is there a difference between doctests in a .py and .pyx file? I put >>> the exact same doctest into a .py file where it

[sage-devel] Re: doctesting cython

2008-09-10 Thread John Cremona
2008/9/9 William Stein <[EMAIL PROTECTED]>: > > On Tue, Sep 9, 2008 at 2:59 PM, John Cremona <[EMAIL PROTECTED]> wrote: >> >> Is there a difference between doctests in a .py and .pyx file? I put >> the exact same doctest into a .py file where it runs fine, and in a >> .pyx file where it goes into

[sage-devel] Re: doctesting cython

2008-09-09 Thread William Stein
On Tue, Sep 9, 2008 at 2:59 PM, John Cremona <[EMAIL PROTECTED]> wrote: > > Is there a difference between doctests in a .py and .pyx file? I put > the exact same doctest into a .py file where it runs fine, and in a > .pyx file where it goes into an infinite recursion and then crashes. > The funct