moio (Silvio Moioli)
- Login: moio
- Registered on: 05/29/2019
- Last sign in: 06/05/2019
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
06/05/2019
-
04:57 AM Ruby Bug #15886: return in rescue block breaks Timeout.timeout
- I like this proposed wording, thanks for taking care of this!
06/03/2019
-
06:40 AM Ruby Bug #15886: return in rescue block breaks Timeout.timeout
- jeremyevans0 (Jeremy Evans) wrote:
> moio (Silvio Moioli) wrote:
> ...
I understand your reasoning - but in this case I would suggest to clarify the method documentation to be more explicit about the limits of what Ruby guarantees here...
05/31/2019
-
12:26 PM Ruby Bug #15886: return in rescue block breaks Timeout.timeout
- Well, as a Timeout.timeout user I would like to be able to wrap any code in a block and have a guarantee it will actually terminate after the specified number of seconds - no matter how the wrapped code looks like and especially if it is...
05/29/2019
-
02:52 PM Ruby Bug #15886 (Rejected): return in rescue block breaks Timeout.timeout
- Passing `Timeout.timeout` a block with a rescue clause that contains a return statement prevents `Timeout::Error` to be raised as expected.
Reproducer:
``` ruby
require 'timeout'
begin
Timeout.timeout(1) do
begin
...