On May 27, 4:12 am, Burcin Erocal <bur...@erocal.org> wrote:
> On Wed, 26 May 2010 20:45:36 -0700
>
>
>
>
>
> William Stein <wst...@gmail.com> wrote:
> > On Wed, May 26, 2010 at 8:33 PM, Jason Grout
> > <jason-s...@creativetrax.com> wrote:
> > > Is anyone opposed to removing the deprecated functionality that
> > > allows a person to do:
>
> > > sage: var('x,y')
> > > (x, y)
> > > sage: a=x^2+y
> > > sage: a(1,2)
> > > /Users/grout/sage/local/lib/python2.6/site-packages/IPython/iplib.py:2073:
> > > DeprecationWarning: Substitution using function-call syntax and
> > > unnamed arguments is deprecated and will be removed from a future
> > > release of Sage; you can use named arguments instead, like
> > > EXPR(x=..., y=...) exec code_obj in self.user_global_ns,
> > > self.user_ns 3
>
> > > This has been deprecated for 14 months now (see
> > >http://trac.sagemath.org/sage_trac/ticket/5413).  According to the
> > > never-yet-applied deprecation policy, it's four months overdue for
> > > removal.
>
> > I am not opposed.
>
It would be nice if (as has been mentioned several times) any
deprecated code were removed for the 5.0 release, not before.  Even
though (as has been discussed ad nauseam) we don't have the same "big"
number policy, there is a significant amount of stuff which could be
taken care of for that. That could also be when we remove the examples
directory, and quite a bit of other things that could be, like
iterators for combinatorial classes (has that reached the deadline
yet?), axes.py, the prec keyword (time? it would be a lot of work,
though) that shows up under

sage: search_src('deprecated')

> I am strongly in favor of removing the deprecation warning. We should
> display a helpful error message instead:
>
> http://trac.sagemath.org/sage_trac/ticket/8214

Maybe, but that message is not so helpful.  I guarantee you that you
don't need to know the history of Sage to do

sage: f=x^2
sage: f(2)

and expect 4.  You just need to attend an insufficiently pedantic
algebra or calculus lecture :)

- kcrisman

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to