News for hackers. Stuff that matters.
Re:Python's super considered harmful by cturner on Tuesday December 28, 2010 @01:22PM (#2046217)

    > For #1 you can just use a closure.
I don't think that will work. See the discussion about rebinding in the post or elsewhere in the thread.
Re:Python's super considered harmful by btilly on Tuesday December 28, 2010 @01:41PM (#2046286)
It is unclear to me what you think doesn't work. A closure can easily store state. As you yourself demonstrate in your rebinding example, you can store and mutate scope if you use a mutable datastructure (like a list) to avoid rebinding problems.

Perhaps if you gave an example of what you think doesn't work, I might understand your point.