[issue2793] Dictionary fails to index when adding list when in a deeply nested loop

2018-01-26 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: -5177 ___ Python tracker ___ ___

[issue2793] Dictionary fails to index when adding list when in a deeply nested loop

2018-01-25 Thread Jay Yin
Change by Jay Yin : -- pull_requests: +5177 ___ Python tracker ___ ___

[issue2793] Dictionary fails to index when adding list when in a deeply nested loop

2008-05-08 Thread James Nadir
New submission from James Nadir [EMAIL PROTECTED]: Python fails to correctly add 'lists' into a 'dictionary' in nested loop. The attached py file has two examples; the first is the failing example, the seond is the passing example. This might be a known issue. If so, please accept my

[issue2793] Dictionary fails to index when adding list when in a deeply nested loop

2008-05-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: No, there is no problem with Python here. In your failing example, you insert the same object (new_record) into the dictionary. Right, you modify its content, but it is still the same list object; All values in the dictionary are the