Tim Peters <[EMAIL PROTECTED]> added the comment: They stayed alive simultaneously because you stored 100 million of them simultaneously in a list (data[]). If instead you did, e.g.,
for i in xrange(100000000): x = random() the problem would go away -- then only two float objects are simultaneously alive at any given time (the "old" float in `x` stays alive until the "new" float created by random() replaces it). _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3063> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com