4 ms·( instead of [ in the list comprehension turns it into a generator, avoiding the problem you describe.by loloquwowndueo 2y ago( instead of [ in the list comprehension turns it into a generator, avoiding the problem you describe.