#15037: Badly formed error messages for ModularFormsRing constructor
------------------------------+-----------------------------
Reporter: itaibn | Owner:
Type: defect | Status: new
Priority: minor | Milestone: sage-5.12
Component: modular forms | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Dependencies: | Stopgaps:
------------------------------+-----------------------------
When you give the `ModularFormsRing` constructor invalid input, it returns
a badly formed error message, as follows:
{{{
sage: ModularFormsRing(3.4)
...
ValueError: Group (=%s) should be a congruence subgroup
sage: ModularFormsRing(Gamma0(2), base_ring=PolynomialRing(ZZ,x))
...
ValueError: Base ring (=%s) should be QQ, ZZ or a finite prime field
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/15037>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.