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

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

[Octave-bug-tracker] [bug #64762] defining a function "load" makes packa


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #64762] defining a function "load" makes packages unavailable
Date: Sun, 8 Oct 2023 12:06:05 -0400 (EDT)

Update of bug #64762 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Octave stores information about the installed packages in a file and, on `pkg
load`, it uses the function `load` to load that information from that file.
So, unless your shadowing `load` function is able to do the equivalent, `pkg
list` is expected to behave unexpectedly in that case.

The same holds for shadowing any function from Octave core.

Closing as invalid.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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