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 tempname1234
Recipients tempname1234
Date 2008-05-01.10:34:52
SpamBayes Score 0.028913876
Marked as misclassified No
Message-id <1209638102.99.0.899973997265.issue2730@psf.upfronthosting.co.za>
In-reply-to
Content
the following code actually dumps the heap into the temp file... very
strange. Make sure the file doesn't exist before running the script.
Only the list of numbers should be written to the file, but alot of junk
is added.

x = str(range(10))
f = open('c:\\temp.txt', 'w+')
f.write(x)
for i in range(10):
    y = f.readline()
    print repr(y)

f.close()
History
Date User Action Args
2008-05-01 10:35:04tempname1234setspambayes_score: 0.0289139 -> 0.028913876
recipients: + tempname1234
2008-05-01 10:35:03tempname1234setspambayes_score: 0.0289139 -> 0.0289139
messageid: <1209638102.99.0.899973997265.issue2730@psf.upfronthosting.co.za>
2008-05-01 10:35:00tempname1234linkissue2730 messages
2008-05-01 10:34:59tempname1234create