On Fri, 19 Oct 2018, oleg_komashko(a)ukr.net wrote:
Happy coincidence!
I send an example before reading
your message
Indeed!
But the "minor problem" remaining (per your example) is actually not
a problem.
As you say, the series "ser", created within a function, "has
penetrated into global data set" -- but it has penetrated in a
legitimate manner since it's a member of a list returned by the
function spoil300 and accepted by the caller via assignment.
If the caller did not assign the return value from that function,
"ser" would be destroyed on exit and would not feature in the global
data set.
Allin