> I think it has something

> I think it has something to do with passing args to lambda functions, but I could be completely wrong.

No, it's because Python evaluates those default arguments when the function is defined, not each time it is run.

Reply

The content of this field is kept private and will not be shown publicly.