Project

General

Profile

Actions

Feature #18005

closed

Enable non-blocking `binding.irb`.

Added by ioquatix (Samuel Williams) over 2 years ago. Updated over 1 year ago.

Status:
Closed
Target version:
-
[ruby-core:104385]

Description

This is a multi-faceted issue.

Firstly, we need to make some library changes, remove IO.select, etc from reline and so on.

Then, we need to make $stdin non-blocking (maybe by default - was planned).

Finally, we need to figure out whether we can relax rb_protect to allow fiber transfer.

Updated by ioquatix (Samuel Williams) over 2 years ago

I already made some changes in reline.

I'm experimenting with relaxing rb_protect: https://github.com/ruby/ruby/pull/4598

Actions #2

Updated by jeremyevans0 (Jeremy Evans) over 2 years ago

  • Tracker changed from Bug to Feature
  • Backport deleted (2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN)

Updated by ioquatix (Samuel Williams) over 1 year ago

  • Status changed from Open to Closed
  • Assignee set to ioquatix (Samuel Williams)

This is fixed and working correctly. But we might want to add tests so it doesn't break in the future.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0