[Python-ideas] 'Injecting' objects as function-local constants

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Jun 13 00:30:09 CEST 2011

I'm -1 on any proposal that somehow tries to make the
default-argument hack more acceptable.

The main reason people still feel the need to use it
is that the for-loop is broken, insofar as it doesn't
create a new binding for each iteration.

The right way to address that is to fix the for-loop,


More information about the Python-ideas mailing list