From: Nobuyoshi Nakada Date: 2008-12-24T11:46:54+09:00 Subject: [ruby-core:20852] Re: 1.9 String iteration methods Hi, At Wed, 24 Dec 2008 04:19:14 +0900, Marcin Miel�y�ski wrote in [ruby-core:20840]: > Q1: is ObjectSpace the only reason for these modification checks when a > copy is created. The conversion methods like to_str, to_int and so on could be invoked while the iteration. Also callcc.. > Q2: is there a more general contract what behavior to expect (throw > error or ignore mutation) for such methods ? It would be case-by-case, I guess. -- Nobu Nakada