#7976: Extends __classcall__ to control inheritance
---------------------------+------------------------------------------------
Reporter: hivert | Owner: hivert
Type: enhancement | Status: new
Priority: major | Milestone:
Component: categories | Keywords: ClassCall inheritance
Work_issues: | Author: Florent Hivert
Upstream: N/A | Reviewer:
Merged: |
---------------------------+------------------------------------------------
This patch extends {{{ClasscallMetaclass}}} so that one can control the
call of a class trough two different static methods:
- {{{__classcall__}}} which behave as usual and is inherited
- {{{__classcall__no_inherits}}} which is not called by derived classes
If both exists the latter is used.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7976>
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.