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 peterdemin
Recipients amaury.forgeotdarc, georg.brandl, peterdemin
Date 2008-06-26.11:59:58
SpamBayes Score 0.1420483
Marked as misclassified No
Message-id <1214481600.67.0.122058244605.issue3207@psf.upfronthosting.co.za>
In-reply-to
Content
Amaury Forgeot d'Arc, your example really raise IOError 0
Thing is that you had 1 string in the file
Here is it:
>>> open("delete.me", "w").write("first\nsecond\nthird")
>>> fp = open("delete.me", "r+t")
>>> fp.readline()
'first\n'
>>> fp.write("Newbie")
>>> fp.close()
>>> open("delete.me", "r").read()
'first\nsecond\nthird'
History
Date User Action Args
2008-06-26 12:00:01peterdeminsetspambayes_score: 0.142048 -> 0.1420483
recipients: + peterdemin, georg.brandl, amaury.forgeotdarc
2008-06-26 12:00:00peterdeminsetspambayes_score: 0.142048 -> 0.142048
messageid: <1214481600.67.0.122058244605.issue3207@psf.upfronthosting.co.za>
2008-06-26 11:59:59peterdeminlinkissue3207 messages
2008-06-26 11:59:59peterdemincreate