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 josh.r
Recipients Kevin.Dyer, josh.r, vstinner
Date 2014-10-09.10:59:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412852351.73.0.624532759358.issue22583@psf.upfronthosting.co.za>
In-reply-to
Content
You're supposed to use that code to create a file (the output file is just ""+""+""+""+""+""+""+""+""+...+"").

If you want something that won't MemoryError generating the file, this is a "memory free" version of the code to generate the file:

import itertools, sys
sys.stdout.writelines(itertools.repeat('""+', 2**17))
print('""')

Run that code (saved as whatever file name you like) and pipe the output to mega_concat.py, then run mega_concat.py to repro.
History
Date User Action Args
2014-10-09 10:59:11josh.rsetrecipients: + josh.r, vstinner, Kevin.Dyer
2014-10-09 10:59:11josh.rsetmessageid: <1412852351.73.0.624532759358.issue22583@psf.upfronthosting.co.za>
2014-10-09 10:59:11josh.rlinkissue22583 messages
2014-10-09 10:59:11josh.rcreate