[issue27673] lambda function in loop

2016-08-03 Thread Stefan Rosewig
Stefan Rosewig added the comment: @Emanuel Barry thanks for clarification, I didn't find this when I was searching for. regards Stefan -- ___ Python tracker <http://bugs.python.org/is

[issue27673] lambda function in loop

2016-08-03 Thread Stefan Rosewig
New submission from Stefan Rosewig: Trying to build tkinter menu dynamically by reading an ini file (configparser) I detect an issue with the lambda function used inside a loop. If the loop variable is used as option in the lambda function, the lambda is not place in time using the current