Maybe instead of __call__ there should be _call_ so that
sage gets a chance to do  generic thing....

I.e, if P is a parent then
P(x) would first go through
sage_object.__call__(self,x) (or a similar highlevel place)
which would then first try
P._call_(x)
If this fails it should call something like
x.parent().coerce_to(P).

Just a thought....

Michel



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to