Re: [sage-devel] deprecation question

2018-01-20 Thread Jeroen Demeyer
On 2018-01-19 09:20, Ralf Stephan wrote: Hi, Is deprecation necessary for class member functions starting with underscore, i.e. a weak "internal use" indicator? No, unless it's a special method. Those are methods which typically start and end with an underscore. See https://trac.sagemath.org/

Re: [sage-devel] deprecation question

2018-01-19 Thread Travis Scrimshaw
On Friday, January 19, 2018 at 3:31:25 AM UTC-6, Erik Bray wrote: > > On Fri, Jan 19, 2018 at 9:20 AM, Ralf Stephan > wrote: > > Hi, > > Is deprecation necessary for class member functions starting with > > underscore, i.e. a weak "internal use" indicator? > > I don't know what the precedent

Re: [sage-devel] deprecation question

2018-01-19 Thread Erik Bray
On Fri, Jan 19, 2018 at 9:20 AM, Ralf Stephan wrote: > Hi, > Is deprecation necessary for class member functions starting with > underscore, i.e. a weak "internal use" indicator? I don't know what the precedent is for Sage, but I would say no. There are rare cases that an undescored member is act

[sage-devel] deprecation question

2018-01-19 Thread Ralf Stephan
Hi, Is deprecation necessary for class member functions starting with underscore, i.e. a weak "internal use" indicator? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an emai

[sage-devel] Deprecation question

2010-12-15 Thread Justin C. Walker
Hi, all, I'm working with some old code (circa 3.4), trying to apply it to new sage (4.6). The code has calls like ...sqrt(X*1.0)... (to get a "real" square root for an Integer X) and this now gives me doctest:847: DeprecationWarning: numerical_sqrt is deprecated, use sqrt(x, prec=n) in