News for hackers. Stuff that matters.
Re:Python quirks by chrisdotcode on Friday July 12, 2013 @01:16PM (#6033759)
Rather the dict is bound during "compile" time, and not at each individual invocation (which would be much better, IMO). And during each invocation, it doesn't get re-bound.
Re:Python quirks by baq on Friday July 12, 2013 @04:04PM (#6034857)
it can't be, that wouldn't make sense. "def" is no different than "for" or "if".