octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: deprecating do_braindead_shortcircuit_evaluation


From: Rik
Subject: Re: deprecating do_braindead_shortcircuit_evaluation
Date: Wed, 11 Dec 2013 14:31:30 -0800

On 12/11/2013 10:00 AM, address@hidden wrote:
> To: Nir Krakauer <address@hidden>
> Cc: octave maintainers mailing list <address@hidden>
> Subject: Re: eliminate conditional short-circuit behavior for | and &
>       operators?
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 12/11/2013 09:28 AM, Nir Krakauer wrote:
>> > What about keeping do_braindead_shortcircuit_evaluation as a switch
>> > for backward compatibility, and just have it default to true?
> Changing the default doesn't solve the problem of having to
> temporarily set the condition around any code that might use the
> feature in order to get predictable results.
>
> We have the same problem with allow_noninteger_range_as_index.
>
> Is there any objection to changing the defaults for these to be Matlab
> compatible now and deprecating them for the 3.8 release?  Then they
> would be removed in whatever version follows the 4.0 release.
> Otherwise, I will deprecate them for the 4.0 release and remove them
> two major releases after that.
>
It feels a little last-minute to make this kind of change for 3.8.  We're
almost frozen with the last tweaks being to either GUI strings or adding
missing files to the build system.  Unless there is some sort of urgency,
I'd deprecate them in 4.0.

--Rik


reply via email to

[Prev in Thread] Current Thread [Next in Thread]