in reply to Re: A 'print' at one spot changes a value at another
in thread A 'print' at one spot changes a value at another

A even better advise is to avoid closure entirely.

  • Comment on Re^2: A 'print' at one spot changes a value at another