Re: Is this intended SAGE behaviour?

7 views
Skip to first unread message

John Cremona

unread,
Jul 13, 2008, 3:27:11 PM7/13/08
to Nils Bruin, sage-...@googlegroups.com
Hi Nils,

Your message sent to my old email address in Nottingham, or I would
have replied sooner ;)
I'm forwarding the reply to sage-devel.

No, it is not my code. The only problem is that the function calls
E.lseries().L_ratio(), and L_ratio() calls misc.verbose() without
importing the misc module. [That function is documented as having
been written by William.]

It would be trivial to fix this, and of course there should be a
doctest which runs your example.

John

2008/7/5 Nils Bruin <nbr...@cecm.sfu.ca>:
> Hi John,
>
> I hope Warwick is treating you well. I ran into the following problem in
> sage, and I suspect it might be your code:
>
> sage: EllipticCurve([0,0,0,-193^2,0]).sha().an()
> [...]
> NameError: global name 'misc' is not defined
>
> Was this tested at all?
>
> Cheers,
>
> Nils
>
> --------------------------------------------------------
> Nils Bruin Department of Mathematics
> telephone: (778) 782 3794 Simon Fraser University
> fax: (778) 782 4947 Burnaby, BC
> e-mail: nbr...@cecm.sfu.ca CANADA, V5A 1S6
> WWW: http://www.cecm.sfu.ca/~nbruin
>

William Stein

unread,
Jul 24, 2008, 7:33:02 AM7/24/08
to sage-...@googlegroups.com, Nils Bruin
On Sun, Jul 13, 2008 at 9:27 PM, John Cremona <john.c...@gmail.com> wrote:
>
> Hi Nils,
>
> Your message sent to my old email address in Nottingham, or I would
> have replied sooner ;)
> I'm forwarding the reply to sage-devel.
>
> No, it is not my code. The only problem is that the function calls
> E.lseries().L_ratio(), and L_ratio() calls misc.verbose() without
> importing the misc module. [That function is documented as having
> been written by William.]
>
> It would be trivial to fix this, and of course there should be a
> doctest which runs your example.

A patch is up here:

http://trac.sagemath.org/sage_trac/ticket/3720

Nils, John -- Please review it so it will go into sage.

-- William

>
> John
>
> 2008/7/5 Nils Bruin <nbr...@cecm.sfu.ca>:
>> Hi John,
>>
>> I hope Warwick is treating you well. I ran into the following problem in
>> sage, and I suspect it might be your code:
>>
>> sage: EllipticCurve([0,0,0,-193^2,0]).sha().an()
>> [...]
>> NameError: global name 'misc' is not defined
>>
>> Was this tested at all?
>>
>> Cheers,
>>
>> Nils
>>
>> --------------------------------------------------------
>> Nils Bruin Department of Mathematics
>> telephone: (778) 782 3794 Simon Fraser University
>> fax: (778) 782 4947 Burnaby, BC
>> e-mail: nbr...@cecm.sfu.ca CANADA, V5A 1S6
>> WWW: http://www.cecm.sfu.ca/~nbruin
>>
>
> >
>

--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

John Cremona

unread,
Jul 24, 2008, 1:00:40 PM7/24/08
to sage-...@googlegroups.com, Nils Bruin
William, I already fixed this in a patch for #3651 which Michael
already merged in 3.0.6.rc0.

Perhaps we both created tickets for the same bug?

John

2008/7/24 William Stein <wst...@gmail.com>:

William Stein

unread,
Jul 25, 2008, 5:30:11 AM7/25/08
to sage-...@googlegroups.com
On Thu, Jul 24, 2008 at 7:00 PM, John Cremona <john.c...@gmail.com> wrote:
>
> William, I already fixed this in a patch for #3651 which Michael
> already merged in 3.0.6.rc0.
>
> Perhaps we both created tickets for the same bug?
>

You should post to sage-devel whenever you create a ticket for something that
is reported there. In this case, just close my ticket as a duplicate. Thanks!

John Cremona

unread,
Jul 25, 2008, 12:34:31 PM7/25/08
to sage-...@googlegroups.com
OK, that was my fault -- I created the ticket and CC's Nils on it but
did not mention it on sage-devel. But Nils's original bug report
came to me personally and not sage-devel too.

Did you want me to close the duplicate?

John

2008/7/25 William Stein <wst...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages