]> granicus.if.org Git - python/commit
MS Win32 .readline() speedup, as discussed on Python-Dev. This is a tricky
authorTim Peters <tim.peters@gmail.com>
Sun, 7 Jan 2001 21:19:34 +0000 (21:19 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 7 Jan 2001 21:19:34 +0000 (21:19 +0000)
commit86821b2563915e4f11cde045da8ebe01beffa634
tree76f272201bcdd36b1deef76af1f633fb9d2a0166
parent4ddf0a01f7becb98b223225edeb48fd69e78934b
MS Win32 .readline() speedup, as discussed on Python-Dev.  This is a tricky
variant that never needs to "search from the right".
Also fixed unlikely memory leak in get_line, if string size overflows INTMAX.
Also new std test test_bufio to make sure .readline() works.
Lib/test/output/test_bufio [new file with mode: 0644]
Lib/test/test_bufio.py [new file with mode: 0644]
Objects/fileobject.c