[New-bugs-announce] [issue3207] file.write() after file.readline() in mode "r+"
Peter
report at bugs.python.org
Thu Jun 26 12:48:30 CEST 2008
New submission from Peter <poslano at gmail.com>:
Following code:
fp = open("delete.me", "r+t")
fp.readline()
fp.write("New line \n")
fp.close()
Won't do anything. I mean nor writing to file, nor raising exception.
Nothing.
I can't find any note about this crap. So, it is the best place for it.
P.S. It's my first bug-report and I think I was wrong in filling bug-
form. Sorry.
----------
assignee: georg.brandl
components: Documentation
messages: 68773
nosy: georg.brandl, peterdemin
severity: normal
status: open
title: file.write() after file.readline() in mode "r+"
type: performance
versions: Python 2.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3207>
_______________________________________
More information about the New-bugs-announce
mailing list