From: me@... Date: 2018-10-22T12:40:10+00:00 Subject: [ruby-core:89509] [Ruby trunk Bug#15241] net/pop fix to use mutable strings was too eager Issue #15241 has been reported by eventualbuddha (Brian Donovan). ---------------------------------------- Bug #15241: net/pop fix to use mutable strings was too eager https://bugs.ruby-lang.org/issues/15241 * Author: eventualbuddha (Brian Donovan) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: 2.5w * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- See [[https://github.com/ruby/ruby/commit/3993fbb5f6bfdae0bce040988d7e2dd632247cdc#commitcomment-30987842|this thread on Github]]. I believe the changes made in Backport #14416 for 2.5.2 (on both trunk and 2.5.x) over-eagerly applied mutability to literal strings. In particular, the strings returned by `inspect` have no real need to be mutable as far as I can tell. -- https://bugs.ruby-lang.org/ Unsubscribe: