From: Robert Klemme Date: 2003-11-20T21:37:14+09:00 Subject: Re: retry does not work "Yukihiro Matsumoto" schrieb im Newsbeitrag news:1069327343.081885.18914.nullmailer@picachu.netlab.jp... > Hi, > > In message "Re: retry does not work" > on 03/11/20, "T. Onoma" writes: > > |just as an example of what this could do: tanaka is adding hook into open_uri to do progress reporting of download. to make it work you have to pass a lambda that acts on progress. but with resume you could raise a ProgressException(pos) and resume, which is much cleaner. > > Sounds like exception abuse for me. Definitely! That's not an exceptional condition, but rather a case for regular invocation of a callback. > You can use continuation if you > want to do something like that. Isn't that a bit overkill? Hm... robert