O'Reilly logo
  • You Wang thinks this is interesting:

In this sense, Python’s nonlocals are more functional than function locals typical in some other languages: in a closure function, nonlocals are per-call, multiple copy data.

From

Cover of Learning Python, 5th Edition

Note

nonlocal variables are multiple copy data