
Issue #19616 has been updated by Eregon (Benoit Daloze). I suspect a fair amount of code still uses `Readline.readline`. Would it make sense if we had a `readline.rb` which is just `require "reline"; Readline = Reline`? Then also we would no longer need to maintain https://github.com/ruby/readline-ext anymore. A big part of my concern here is other Ruby implementations like JRuby and TruffleRuby have their own implementations of Readline (using JLine). It would be great if we can drop them rather than keep maintaining them, but we can only do so if the readline-ext gem is not used much in practice. Hence if readline-ext would just reuse reline, then we can truly drop the dependency on libreadline and don't need to maintain code linking to it at all anymore (neither the C extension and neither Readline-JLine). ---------------------------------------- Bug #19616: Remove ext/readline from Ruby 3.3 https://bugs.ruby-lang.org/issues/19616#change-102894 * Author: hsbt (Hiroshi SHIBATA) * Status: Open * Priority: Normal * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN ---------------------------------------- We still bundled ext/readline that is GNU Readline wrapper. But we already have reline written by pure Ruby. It's time to remove it from Ruby releases. Motivation: * We can skip to install readline or libedit for testing ruby language. * I hope to reduce external dependencies from the perspective of ruby-build maintainer. If users hope to use ext/readline, they can install it with `gem install readline-ext`. -- https://bugs.ruby-lang.org/