Hi, I believe there is a bug in stringio module
require “stringio"
s =StringIO.open()
s << “a\r\nb\r\n\r\n"
s.rewind
s.readline(”\r\n”) => “a\r\nb\r\n\r\n”
The result should be “a\r\n”
Thanks
-Ted
Hi, I believe there is a bug in stringio module
require “stringio"
s =StringIO.open()
s << “a\r\nb\r\n\r\n"
s.rewind
s.readline(”\r\n”) => “a\r\nb\r\n\r\n”
The result should be “a\r\n”
Thanks
-Ted
Hi,
At Thu, 11 Jul 2002 22:49:47 +0900, mengx@nielsenmedia.com wrote:
Hi, I believe there is a bug in stringio module
Thank you for the report. Fixed now.
–
Nobu Nakada