"Istvan Albert" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | On Jul 27, 2:18 pm, Raymond Hettinger <[EMAIL PROTECTED]> wrote: | | >> What was really surprising is that it works | >> with no issues up until 1 million items" | | later editing made the sentence more difficult to read | I should have said: "What was really surprising is that zip works | with no issues up until 1 million items" | | It was the zip function (and the garbage collection that it repeatedly | triggers) that cause the problem
It is not the zip function that caused a problem. It was the creation of so many tuples without any deletions. The list comp example I gave does the same thing and has the same problem. Nothing to do with zipping per se. tjr -- http://mail.python.org/mailman/listinfo/python-list