It's actually worse in Python since there's no support for variable lifetimes within a function, so the `v2` workaround is still broken. (the default-argument workaround "works" but is scary)
This makes it clear: the underlying problem is NOT about for loops - it's closures that are broken.
This makes it clear: the underlying problem is NOT about for loops - it's closures that are broken.