Menu

#274 'help funname' fails to show multiple function names

feature_request
closed-fixed
nobody
core (120)
1
2019-12-11
2011-06-14
No

If you do a 'help max' in the perldl shell,
you get the docs for PDL::GSL::RNG::max but
not the ref for PDL::Ufunc::max which is
arguably more generally important.

This problem holds true for PDL::Ufunc::min
as well but things are ok for PDL::Ufunc::avg
and a number of other routines in PDL::Ufunc
so I do not believe this is a problem with the
PDL::Ufunc documentation.

PDL-2.4.9
cygwin/vista
perl 5.10.1

This is important to resolve as it can seriously
reduce the usability and friendliness of PDL
when the online docs can not be used to
find things out about the system...

Related

Bugs: #436

Discussion

  • Chris Marshall

    Chris Marshall - 2011-06-14

    There is not even an entry for max in the pdldoc.db file so
    the limitation or problem starts with scantree.pl.

    Once scantree.pl can put multiple functions with the same
    name in the database, it will need to be verified whether
    the pdldoc and help commands will support it.

     
  • Chris Marshall

    Chris Marshall - 2011-06-14

    Same problem with PDL::Index and PDL::Slices::index.
    perldoc PDL::Index gives the correct response.
    pdldoc PDL::Index gives 'No PDL docs for 'PDL::Index'. ...'

     
  • Chris Marshall

    Chris Marshall - 2011-06-14

    Looking at the PDL::Doc code the current documentation
    data structure does not have support for multiple functions
    with the same name.

    Maybe replacing the funcname => { } part by
    funcname => [ { }, { } ] could work.

     
  • Chris Marshall

    Chris Marshall - 2011-11-12
    • priority: 7 --> 6
     
  • Chris Marshall

    Chris Marshall - 2011-12-22
    • milestone: 101029 --> feature_request
    • priority: 6 --> 5
    • status: open --> open-later
     
  • Chris Marshall

    Chris Marshall - 2011-12-22

    This issue will be addressed following the PDL-2.4.10 release.

     
  • Chris Marshall

    Chris Marshall - 2015-02-22

    Bug ticket triage for PDL-2.008. Priority >5 are desired for PDL-2.008.

     
  • Chris Marshall

    Chris Marshall - 2015-02-22
    • Priority: 5 --> 1
     
  • Derek Lamb

    Derek Lamb - 2018-03-09

    One possible solution is currently on the fix_docsys branch.

     
  • mohawk

    mohawk - 2018-04-09

    This matter will now be tracked at https://github.com/PDLPorters/pdl/issues/28

     
  • Derek Lamb

    Derek Lamb - 2019-12-11
    • status: open-later --> closed-fixed
     
  • Derek Lamb

    Derek Lamb - 2019-12-11

    fixed at GitHub, closing this bug here at SF just because it feels good.

     

Log in to post a comment.

MongoDB Logo MongoDB