#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 jmantysalo):
Replying to [comment:24 SimonKing]:
> To repeat my questions:
>
> - How important is it to have doc tests that remain valid if the
Singular version changes?
>
> My answer: We could at least have a test marked random. In that way, we
at least make sure that there is no error raised.
+1
> My suggestion is: Use the SHORT version string by default, but provide
singular_version and singular.version with an optional "verbose=False"
argument, that allows to obtain the lengthy version string. And of course
fix the error.
Sounds good. Somehow the output of `pari.version()` seems best for me.
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?
--
Ticket URL: <http://trac.sagemath.org/ticket/5994#comment:25>
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.