Allin Cottrell schrieb:
A brief clarification of a recent response to Sven. I'm aware
that some
things in the area of function packaging are not right, but I need
probably a couple of days free of distractions to get things closer to
right.
No problem. It's clear that this new and cool feature must have some
"infant deseases" (as it would be called in German).
The main issue is this: although packages exist, there is a completely
"flat" namespace for user-defined functions in gretl right now. This
has various undesirable consequences.
Couldn't the functions get internally prepended (at packaging time) by a
timestamp string or something like that to make them unique?
As I said, this needs fixing. But in the meantime if you are developing
function packages, please follow this rule: Make sure that in any given
package, _all_ functions have unique names that will not collide with
any other functions. Do not rely on "sharing" code between function
packages; it won't work in general.
That's one of the reasons why I figured that the py4gretl stuff
shouldn't be uploaded on the package server yet.
-sven