#9944: categories for polynomial rings
--------------------------------------------+-------------------------------
Reporter: robertwb | Owner: nthiery
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.7.1
Component: categories | Resolution:
Keywords: | Work_issues:
Upstream: N/A | Reviewer: Nicolas M.
ThiƩry, Mike Hansen, Martin Raum
Author: Robert Bradshaw, Simon King | Merged:
Dependencies: sage-4.7 + #11139 |
--------------------------------------------+-------------------------------
Comment(by SimonKing):
Replying to [comment:79 SimonKing]:
> Replying to [comment:78 mraum]:
> > I encountered only two further issues:
> > in polynomial_zz_pex.pyx new line 107f there is no specification of
the except clause and I think raise TypeError ... is what belongs there. I
know this is not your code, but it would be nice to fix this "on the fly".
Can we have a doctest for this?
>
> I am trying. But probably you are right, it should probably be `except
TypeError`.
I think I misunderstood your remark: You do not complain about the fact
that there is a bare `except`, but you noticed that the TypeError is
constructed but not raised. That's odd, of course.
I found the following example, in which the error should be raised:
{{{
sage: K.<a>=GF(next_prime(2**60)**3)
sage: R.<x> = PolynomialRing(K,implementation='NTL')
sage: R([3,'1234'])
3*x + 3
}}}
Hence, currently there is no error raised and the result is absolute
nonsense.
I'll fix that.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9944#comment:80>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.