Hi,
I upgraded to the latest snapshot (Dec 31st) and encountered a strange
behavior. Unfortunately I couldn't produce a minimal example. This is in
the context of a panel dataset with a sample restriction in place that
picks out a single time period.
Then a function of mine is called, one of the arguments is a series
named "ave_inc_gr", and the corresponding argument name inside the
function is "thresh".
Now I have the following debug code inside this function, and I report
the output as comments:
# should give 0, since 'thresh' exists in the function's scope:
check = isnull(thresh)
# but actually gives 1:
print check
# but in this very next line, 'thresh' is accepted (no error):
string mys = argname(thresh)
# and gives the correct passed argument's name "ave_inc_gr":
print mys
This feels very weird, or am I blind and missing something obvious?
Oh BTW, I also noticed something else, I was using isnull() on a panel
series and it returned a series instead of an integer. Maybe you could
also look into that.
thanks,
sven