bugGNU Octave - Bugs: bug #55890, "help class.method"...


bug #55890: "help class.method" fails if method overloads builtin

Submitted by:  Colin Macdonald <cbm>
Submitted on:  Tue 12 Mar 2019 07:42:50 AM UTC  
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

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


Wed 13 Mar 2019 08:16:55 PM UTC, comment #2: 

While you're at it, it would be nice to support "help ftp/ascii" for compatibility with Matlab, as documented here [1] for "help handle/delete".

Another reason to support this is that Matlab docs often have "See Also: foo/bar" whereas we currently have to say "See Also: @foo/bar".

[1] https://www.mathworks.com/help/matlab/ref/help.html

Colin Macdonald <cbm>
Tue 12 Mar 2019 08:26:39 AM UTC, comment #1: 

I see the same with the ftp class except they all seem to fail, even when there is not a built-in function with the same name:

octave:1> help ftp.ascii
error: help: 'ftp.ascii' not found

I'll try to take a look since I have been making some changes related to looking up names/classes/packages/etc.

John W. Eaton <jwe>
Project Administrator
Tue 12 Mar 2019 07:42:50 AM UTC, original submission:  

These examples come from the Symbolic package.

"help sym.assume" works fine.  But "help sym.char" does not.  Nor does "help sym.erf".  I guess the difference is there is no builtin "assume" but there are "char" and "erf" functions.

> help sym.erf
error: help: 'sym.erf' not found


  * "help @class/method" always works---this report is about the dot notation.

  * possibly related: if the class name is itself a builtin, the dot notation also fails, e.g., "help logical.isAlways".

  * Tested on 4.2 and 5.1.1.

  * 6.0.0 seems to have broken/removed "help @sym/assume" but this bug is present there too.

Colin Macdonald <cbm>


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

Attach Files:

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 jwe (Posted a comment)
  • -email is unavailable- added by cbm (Submitted the item)

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

    Only project members can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-13 mtmiller StatusNone => Confirmed

    Back to the top

    Powered by Savane 3.5