#10903: Update Singular to 3-1-3-3.
---------------------------------------------+------------------------------
Reporter: malb | Owner: tbd
Type: defect | Status: needs_work
Priority: critical | Milestone: sage-4.7.2
Component: packages | Keywords: singular
SageDays34 sd34
Work_issues: | Upstream: N/A
Reviewer: Martin Albrecht, Volker Braun | Author: Burcin Erocal,
Martin Albrecht, Volker Braun
Merged: | Dependencies: #11339
---------------------------------------------+------------------------------
Comment(by SimonKing):
I found where the critical change has happened: #10859 deprecates
_is_real, _is_positive and so on, and with #10903, we have
{{{
sage: print x._is_constant.__name__
None
}}}
`_is_constant` is a deprecated alias for `is_constant`. I think it would
be a bad idea to use the name `"is_constant"` for `_is_constant` (note the
underscores), because otherwise the docbuilder might think that the
deprecated function has to be documented.
Perhaps the easiest solution is to make the lazy attribute `__name__`
raise an `AttributeError`, rather than returning `None`. That would
certainly make the docbuilder happy, because it tests `if
hasattr(obj,'__name__') and obj.__name__.find('.') != -1 and
obj.__name__.split('.')[-1] != name): ..."`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10903#comment:66>
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.