Actions
Bug #18810
openMake `Kernel#p` interruptable.
Description
While figuring out https://bugs.ruby-lang.org/issues/18465 I found a test which fails when rb_io_flush
becomes blocking.: https://github.com/ruby/ruby/commit/fe6b2e20e9f17ed2c2900aa72994e075ffdc7124
It seems unusual to me that Kernel#p
is uninterruptible (unique among all Ruby methods). I'd like to make Kernel#p
interruptible.
Updated by ioquatix (Samuel Williams) about 1 month ago
Updated by mame (Yusuke Endoh) 28 days ago
Since Kernel#p
is a method for debugging, I think this spec would be useful. If it is made interruptable, it will be difficult to use Kernel#p
in a block of Thread.handle_interrupt(TimeoutError => :on_blocking)
.
Actions