Swaprava Nath added the comment:
I realised that this is a normal behavior, I just had two for loops, nested,
and every time the inner for loop runs, the list flushes. No worries, sorry!
--
resolution: -> not a bug
___
Python tracker
&l
Changes by Swaprava Nath :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue26675>
___
___
Python-bugs-list mailing list
Unsubscrib
Changes by Swaprava Nath :
Removed file: http://bugs.python.org/file42330/knapsack.py
___
Python tracker
<http://bugs.python.org/issue26675>
___
___
Python-bugs-list m
New submission from Swaprava Nath:
I'm storing several variables in a list after a computation in a for loop. I'm
bundling the variables in a tuple and appending this tuple to a list. So, the
structure should be:
iter 1: list = [tuple1]
iter 2: list = [tuple1, tuple2]
iter 3: list