New submission from Peter <[EMAIL PROTECTED]>: 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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue3207> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com