Antoon Pardon <apardon at forel.vub.ac.be> writes: > The solution that I heard proposed was to use > a mutable variable. Something like > > > def fun_1(): > > a = [some_value] > > def fun_2(); > > a[0] = new_value Could somebody point me to an explanation of why closures are broken in this way in the first place, please ?