From: Vladimir Sizikov Date: 2009-12-10T07:31:59+09:00 Subject: [ruby-core:27118] Re: [Backport #2431] StringIO#{gets,readlines} with "" (paragraph mode) trims last "\n" On Mon, Dec 7, 2009 at 10:54 AM, NAKAMURA, Hiroshi wrote: > All the failed tests are for StringIO, right? Yes. > Then we are free to fix > StringIO behavior as well as 1.9 which is consistent with generic IO. Yeah, fixing the specs is not a problem. But we need the clear statement from ruby-core, is the current MRI 1.8.* behavior for StringIO considered a bug and needs to be fixed, or is it considered a feature (albeit a bit inconsistent with the standard IO behavior). Thanks, --Vladimir