[issue30763] There is functionality bug in linecache library.
Yang Xiao added the comment: Sorry, there is a mistake in msg296874. The expectant output shoule be: ['good morning\n'] ['good evening\n'] ['good morning 123\n'] ['good evening 123\n'] -- ___ Python tra
[issue30763] There is functionality bug in linecache library.
New submission from Yang Xiao: There is a functionality bug in linecache library. >>test.py<< import linecache def test_getline(f): print linecache.getlines(f) if __name__ == "__main__": tf1 = 'aaa' with open(tf1,'w') as f: f.wr