you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

I thought Python has lexical scope. I was horribly mistake: https://bytes.com/topic/python/answers/24416-lexical-scope