On Tuesday, March 1, 2016 at 8:15:56 AM UTC-8, William wrote:
>
> -1 to telling users that a syntax is deprecated and will be removed, but 
> planning to never remove it. 
>
> +1 to executing the removal.

We can't let a lottery like this:

sage: var('foo,bar')
(foo, bar)
sage: f=foo+bar
sage: f(1)
foo + 1

go silently. The proper solution is raising an error.

We *could* special case the situation where len(f.variables()) == 1 and one 
argument is given. Apart from no arguments at all, That's the only 
situation that's unambiguous, as far as I know.

The problem at http://trac.sagemath.org/ticket/12070 is just misuse, so 
should be resolved by improving documentation.

-- 
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 email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to