On Thursday 17 May 2007 12:34, William Stein wrote: > On 5/17/07, Michel <[EMAIL PROTECTED]> wrote: > > > I am not so sure. Moving it up to Element means that it shows up in > > > tab-completion (polluting the method list) even though it is not > > > supported for most Elements. > > > > > > Martin > > > > You could say it is supported on all elements. It just returns self if > > there is no substitution to > > be done: > > sage: 5.subs(y=10) > > 5 > > > > This is precisely what would happen in 5 came from maxima > > (maxima('5')). > > I agree. Also, if you think about it there are a huge number of > different elements that do support some sort of notion of substitution. > I think Michel's suggestion is pretty good.
Okay then, I will incorporate this patch into my patchset then which I will send around today where MPolynomials over QQ and GF(p) use the libSINGULAR as default implementation and "make test" passes! Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _www: http://www.informatik.uni-bremen.de/~malb _jab: [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---