commit | 86821b2563915e4f11cde045da8ebe01beffa634 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Sun Jan 07 21:19:34 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Sun Jan 07 21:19:34 2001 +0000 |
tree | 76f272201bcdd36b1deef76af1f633fb9d2a0166 | |
parent | 4ddf0a01f7becb98b223225edeb48fd69e78934b [diff] |
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.