bugGNU Octave - Bugs: bug #53599, global attribute persists after...

 
 

bug #53599: global attribute persists after "clear global" or "clear all"

Submitter:  Lars Kindermann <larskindermann>
Submitted:  Tue 10 Apr 2018 01:38:57 AM UTC
   
 
Category:  Interpreter Severity:  5 - Blocker
Priority:  7 - High Item Group:  Regression
Status:  Fixed Assigned to:  jwe
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 11 Apr 2018 03:29:25 PM UTC, comment #5: 

Fix verified, closing report.

Rik <rik5>
Group administrator
Wed 11 Apr 2018 04:33:35 AM UTC, comment #4: 

Rik: Thanks, I figured that.

I pushed the following changesets, including a test, so I hope this doesn't come back again.

http://hg.savannah.gnu.org/hgweb/octave/rev/c80323fe4938
http://hg.savannah.gnu.org/hgweb/octave/rev/d12271fe1504

John W. Eaton <jwe>
Group administrator
Wed 11 Apr 2018 12:50:15 AM UTC, comment #3: 

John,
Could you look at bug #53579 as part of this?
It shows that the current stable is incompatible
with current release and Matlab.

Michael Godfrey <godfrey>
Group Member
Tue 10 Apr 2018 11:35:05 PM UTC, comment #2: 

Using hg bisect, the issue was introduced in this cset:


changeset:   24977:2b040946dc69
branch:      stable
parent:      24975:241b80a7d8c7
user:        John W. Eaton <jwe@octave.org>
date:        Thu Mar 22 17:34:41 2018 -0400
summary:     improve handling of clear for globals, forwarded symbols (bug #53027)



Rik <rik5>
Group administrator
Tue 10 Apr 2018 06:37:13 PM UTC, comment #1: 

This problem should be fixed before the 4.4 release.  I've marked it as a regression and a blocker.  I'm looking at it now.

John W. Eaton <jwe>
Group administrator
Tue 10 Apr 2018 01:38:57 AM UTC, original submission:  

both in stable and default branch a variable stays global even after it is cleared:


>> global a
>> clear all
>> a=0;
>> isglobal('a')
ans = 1

Version 4.0 and 4.2.2 correcly give the answer 0

Lars Kindermann <larskindermann>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by godfrey (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by larskindermann (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-11 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2018-04-11 jwe StatusConfirmed Ready For Test
    2018-04-10 jwe Severity3 - Normal 5 - Blocker
        Priority5 - Normal 7 - High
        Item GroupIncorrect Result Regression
        StatusNone Confirmed
        Assigned toNone jwe

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code