From: Robert Dober Date: 2006-07-06T21:04:25+09:00 Subject: Re: [Bug?] Confused exception handling in Continuation Context ------=_Part_70706_23063987.1152187462464 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 7/6/06, Pit Capitain wrote: > > Robert Dober schrieb: > > I just went over some old Iterator code from the talk-list when I found > > some very strange behavior concerning Exception when > > using the iterator. > > (...) > > Robert, just change your test code to > > i =3D Iterator.new( %w{ Ringo John Paul George } ) > puts "1: #{i.next}" > puts "2: #{i.next}" > > and try to understand the output. I don't think you can get away with > just one continuation. > > Regards, > Pit > > Yes that was surprising for me too, but it was discussed before, and so far there is nobody who pointed out why, did you BTW? Furthermore this is not about the continuation, understanding the continuation is not even necessary to identify the buggy behavior. This is about the exception handling. Cheers Robert --=20 Deux choses sont infinies : l'univers et la b=EAtise humaine ; en ce qui concerne l'univers, je n'en ai pas acquis la certitude absolue. - Albert Einstein ------=_Part_70706_23063987.1152187462464--