#11533: allow unicode strings for specifying elliptic curve cremona labels
-------------------------------+--------------------------------------------
Reporter: was | Owner: cremona
Type: enhancement | Status: new
Priority: minor | Milestone: sage-4.7.1
Component: elliptic curves | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
-------------------------------+--------------------------------------------
This may as well be made to work:
{{{
sage: EllipticCurve(u'389a')
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
/home/wstein/db/shark2011/<ipython console> in <module>()
/usr/local/sage/local/lib/python2.6/site-
packages/sage/schemes/elliptic_curves/constructor.pyc in EllipticCurve(x,
y, j)
312
313 if not isinstance(x,list):
--> 314 raise TypeError, "invalid input to EllipticCurve
constructor"
315
316 x = Sequence(x)
TypeError: invalid input to EllipticCurve constructor
}}}
Probably need an "isinstance(x, (str, unicode)):" somewhere.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11533>
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.