#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):
Aha! Perhaps the problem arose like here:
{{{
sage: from sage.misc.misc import deprecated_function_alias
sage: print deprecated_function_alias(x.is_constant, "bla").__name__
None
}}}
And I think I have located the problem: [attachment:trac_10903_singular-
fixes.patch] introduces a change in `sage/misc/misc.py`, and apparently it
can happen that the lazy attribute `__name__` of `DeprecatedFunctionAlias`
returns None.
Perhaps it would be a solution to return `self.func.__name__`, if no name
can be determined by using `inspect.stack` and `gc.get_referrers`?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10903#comment:65>
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.