Project

General

Profile

Bug #16777

IRB in Ruby 2.7 hangs on pasting long here document

Added by jnchito (Junichi Ito) 3 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin19]
[ruby-core:97822]

Description

IRB in Ruby 2.7 hangs on pasting long here document. Here is an example when I copy and paste the script in the attached file:

ruby27

Ruby 2.6 works well:

ruby26

NOTE: The CSV text was taken from here:
国勢調査 時系列データ CSV形式による主要時系列データ | ファイル | 統計データを探す | 政府統計の総合窓口


Files

sample.rb (49.7 KB) sample.rb jnchito (Junichi Ito), 04/11/2020 02:18 AM

Updated by jnchito (Junichi Ito) 2 months ago

I found the same issue is reported here https://github.com/ruby/irb/issues/43 , so you can close this.

jnchito (Junichi Ito) wrote:

IRB in Ruby 2.7 hangs on pasting long here document. Here is an example when I copy and paste the script in the attached file:

ruby27

Ruby 2.6 works well:

ruby26

NOTE: The CSV text was taken from here:
国勢調査 時系列データ CSV形式による主要時系列データ | ファイル | 統計データを探す | 政府統計の総合窓口

#2

Updated by jeremyevans0 (Jeremy Evans) about 1 month ago

  • Status changed from Open to Closed

Also available in: Atom PDF