From: Martin Duerst Date: 2009-02-09T11:08:07+09:00 Subject: [ruby-core:21941] Re: 1.9 Bug Report It's possible to do that, but it's a lot of work to say the least. For a very elaborate solution and discussions, please see http://www.ubilab.org/publications/kof93.html Regards, Martin. At 07:18 09/02/05, you wrote: >Excerpts from Yehuda Katz's message of Wed Feb 04 20:42:33 +0200 2009: >> Still, the infinite loops seems like a bug to me, no? > >Would it be preferrable to disallow modifying the Hash while it >is iterated on or to attempt to only operate on the keys that >were present at the time of iteration start? > > >Eero > >-- >Magic is insufficiently advanced technology. #-#-# Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University #-#-# http://www.sw.it.aoyama.ac.jp mailto:duerst@it.aoyama.ac.jp