bugGNU Octave - Bugs: bug #46282, Newly defined functions within a...

 
 

bug #46282: Newly defined functions within a namespace are inaccessible via that namespace until restart of the octave session

Submitted by:  Tasos Papastylianou <tpapastylianou>
Submitted on:  Sat 24 Oct 2015 02:54:54 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: ConfirmedAssigned to: None
Originator Name: Tasos Papastylianou <poacheR>Open/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 21 Dec 2015 02:36:02 PM UTC, comment #3:

I can confirm the bug here. The example must be run in a single Octave session and it must be run interactively, not pasted or run as a script.

If I combine the first two lines:

it works. Maybe something to do with the way Octave detects +namespace directories appearing but not rescanning them if they are empty at the time?

Mike Miller <mtmiller>
Project Administrator
Sat 24 Oct 2015 06:08:39 PM UTC, comment #2:

This also works for me
default branch and ubuntu 15.04

Doug Stewart <dastew>
Sat 24 Oct 2015 06:03:21 PM UTC, comment #1:

Hi,

As explained in bug #46281, this example works for me on the default branch.

Pantxo Diribarne <pantxo>
Project Member
Sat 24 Oct 2015 02:54:54 PM UTC, original submission:

Terminal session to reproduce bug:

This bug links to "bug #46281: newly defined private functions are inaccessible until restart of octave session", likely representing the same issue under the hood, but listed here as a separate bug as per irc chat request (jwe).

Tasos Papastylianou <tpapastylianou>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by dastew (Posted a comment)
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by tpapastylianou (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 21 Dec 2015 02:36:02 PM UTCmtmillerStatusWorks For Me=>Confirmed
    Sat 24 Oct 2015 06:03:21 PM UTCpantxoStatusNone=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup1