#5994: singular.version() yields an error when first called, has no doctest, and
has a strange output imo
---------------------------------------------+--------------------------
Reporter: SimonKing | Owner: was
Type: defect | Status: needs_info
Priority: major | Milestone: sage-6.4
Component: interfaces | Resolution:
Keywords: singular version help.cnf | Merged in:
Authors: William Stein | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
---------------------------------------------+--------------------------
Comment (by SimonKing):
Replying to [comment:25 jmantysalo]:
> Sounds good. Somehow the output of `pari.version()` seems best for me.
Slight problem: The patching level usually is not indicated by a number
but by "p" plus a number. So, providing the version as a list of integers
is perhaps not what we want. And it is not good, I think, if the default
output is a list of integers and the verbose output is a totally different
type, namely a string.
From that perspective, the r-output is better.
> Maybe this could also be documented in
http://doc.sagemath.org/html/en/developer/packaging.html#package-
versioning as the recommended way to have `*.version()` commands?
I didn't know about the existence of a `package_version.txt`. I wonder if
we could access these data---after all, the package version of singular is
"3.1.7p1.p0", but the version shown by
`singular.eval('system("version")')` is "3170". Similarly for r, it should
be `3.2.1.p0`, not `(3,2,1)`.
I guess it is time to do a bit bike shedding at sage-devel.
--
Ticket URL: <http://trac.sagemath.org/ticket/5994#comment:26>
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/d/optout.