From: "NAKAMURA, Hiroshi" Date: 2009-12-10T11:16:20+09:00 Subject: [ruby-core:27123] Re: [Backport #2431] StringIO#{gets,readlines} with "" (paragraph mode) trims last "\n" Hi Vladimir, > 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). Author(nobu) assigned this ticket to mame so it's a bug to be fixed in ruby_1_8 (1.8.8dev). Branch mgmt policy allow to fix a bug by committer. Aside from this, 1.8.7 may not incorporate this fix even if it's a bug. I strongly recommend to apply this fix to 1.8.7 as well (to resolve StringIO-IO interface mismatch as you said) but it's shyouhei's job. // NaHi