[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65153] Unexpected error when using the ~ outp
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #65153] Unexpected error when using the ~ output placeholder |
Date: |
Fri, 19 Jan 2024 15:12:54 -0500 (EST) |
Update of bug#65153 (group octave):
Status: Confirmed => Ready For Test
Fixed Release: None => 9.1.0 (current stable)
Planned Release: None => 9.1.0 (current stable)
_______________________________________________________
Follow-up Comment #13:
I checked in the following change to make isargout(k) always return true for k
in the range 1:max(1,nargout).
http://hg.savannah.gnu.org/hgweb/octave/rev/56995fce2adc
So for now, code that uses isargout will continue to work, but it will be as
if there are no ignored outputs even when the function is called with a ~
placeholder in the output list. That’s what you would get with checking
nargout and that’s the best you can do with Matlab.
I also checked in the following change to replace all uses of isargout in
Octave functions with checks based on nargin:
http://hg.savannah.gnu.org/hgweb/octave/rev/c6ef7981b6f1
These changes were all made on stable then merged to the default and
bytecode-interpreter branches. If anyone objects, we can discuss whether it
would be better to do this work on default instead. But I’d prefer to make
this change on stable now rather than wait another year to begin this
process.
I'm marking this bug report as ready for test and if it looks good then I
think we could close it. The tests that uses isargout have been updated to
check the current behavior and they should all pass.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65153>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65153] Unexpected error when using the ~ output placeholder, (continued)
- [Octave-bug-tracker] [bug #65153] Unexpected error when using the ~ output placeholder, Pantxo Diribarne, 2024/01/12
- [Octave-bug-tracker] [bug #65153] Unexpected error when using the ~ output placeholder, Denis Sbragion, 2024/01/14
- [Octave-bug-tracker] [bug #65153] Unexpected error when using the ~ output placeholder, John W. Eaton, 2024/01/14
- [Octave-bug-tracker] [bug #65153] Unexpected error when using the ~ output placeholder, Pantxo Diribarne, 2024/01/14
- [Octave-bug-tracker] [bug #65153] Unexpected error when using the ~ output placeholder, Nicholas Jankowski, 2024/01/14
- [Octave-bug-tracker] [bug #65153] Unexpected error when using the ~ output placeholder, John W. Eaton, 2024/01/14
- [Octave-bug-tracker] [bug #65153] Unexpected error when using the ~ output placeholder, John W. Eaton, 2024/01/15
- [Octave-bug-tracker] [bug #65153] Unexpected error when using the ~ output placeholder, Markus Mützel, 2024/01/15
- [Octave-bug-tracker] [bug #65153] Unexpected error when using the ~ output placeholder, John W. Eaton, 2024/01/18
- [Octave-bug-tracker] [bug #65153] Unexpected error when using the ~ output placeholder, John W. Eaton, 2024/01/19
- [Octave-bug-tracker] [bug #65153] Unexpected error when using the ~ output placeholder,
John W. Eaton <=
- [Octave-bug-tracker] [bug #65153] Unexpected error when using the ~ output placeholder, John W. Eaton, 2024/01/20