This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Swaprava Nath
Recipients Swaprava Nath
Date 2016-03-31.02:49:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1459392597.63.0.301580588543.issue26675@psf.upfronthosting.co.za>
In-reply-to
Content
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 = [tuple1, tuple2, tuple3] etc.

and the tuple has dissimilar objects. Surprisingly, I see that the list grows until a point and then suddenly all old entries are flushed out and new tuple_n is the only entry

iter n: list = [tuple_n]

Is this a bug? Or is there a cap on the size of the list?
History
Date User Action Args
2016-03-31 02:49:57Swaprava Nathsetrecipients: + Swaprava Nath
2016-03-31 02:49:57Swaprava Nathsetmessageid: <1459392597.63.0.301580588543.issue26675@psf.upfronthosting.co.za>
2016-03-31 02:49:57Swaprava Nathlinkissue26675 messages
2016-03-31 02:49:56Swaprava Nathcreate