octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #65280] help for classdef method not shown unt


From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #65280] help for classdef method not shown until object instantiated
Date: Fri, 9 Feb 2024 03:19:19 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?65280>

                 Summary: help for classdef method not shown until object
instantiated
                   Group: GNU Octave
               Submitter: cbm
               Submitted: Fri 09 Feb 2024 08:19:19 AM UTC
                Category: Classdef
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 09 Feb 2024 08:19:19 AM UTC By: Colin Macdonald <cbm>

>> pkg load pythonic

>> help pyobject.char
error: help: 'pyobject.char' is not documented
error: called from
    help at line 114 column 9

>> x = pyobject (6)
warning: auto-compilation of pyobject failed with message classdef
constructors are not supported by the VM yet
x = [Python object of type float]
  6.0

>> help pyobject.char
'pyobject.char' is a function from the file
/home/cbm/.local/share/octpkgs/10.0.0/pythonic-0.1.3/@pyobject/char.m

 -- Method on @pyobject: char (X)
     Conversion method to string.

     Example:
          s = pyobject ("hello world");
          char (s)
                ⇒ hello world

     See also: @@pyobject/disp.


### file-structure of this classdef class:


@pyobject/
@pyobject/pyobject.m
@pyobject/char.m

See
https://gitlab.com/gnu-octave/octave-pythonic/-/tree/main/inst/@pyobject?ref_type=heads


### reproducing: 

I'm at a recent commit of Octave:


commit 217dbb6cae696c0631312407e4ac333eb765d48a (origin/default)
Merge: ae86e72e61 c76dd2e856
Author: Rik <rik@octave.org>
Date:   Thu Feb 8 11:35:20 2024 -0800

    maint: merge stable to default


Install the pythonic package (`pkg install -forge pythonic`), version 3.1.1 at
time of writing.  Can also be reproduced from in the source tree.

### Related issues

https://savannah.gnu.org/bugs/index.php?62804
https://savannah.gnu.org/bugs/index.php?48041







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65280>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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