Skip to content

"return NotImplementedError" in ring.pyx #7532

@williamstein

Description

@williamstein
On Wed, Nov 25, 2009 at 7:26 PM, John H Palmieri <[email protected]> wrote:
> In ring.pyx, there is code like this:
>
>        if proof:
>            return NotImplementedError
>        else:
>            return False
>
> I would think that the second line should say "raise
> NotImplementedError".  (Changing it makes some doctests fail,
> though.)  Is there a good reason for doing "return
> NotImplementedError"?

That's *definitely* a bug.   No question about it. 

Addendum: apply the patches trac_7532.patch and trac_7532-rings.patch. Depends on #7535.

Component: elliptic curves

Author: John Cremona

Reviewer: Tim Dumol, John Palmieri

Merged: sage-4.3.2.alpha0

Issue created by migration from https://trac.sagemath.org/ticket/7532

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions