Actions
Bug #18769
closedStringIO#each hangs up on some input with `chomp: true`
Bug #18769:
StringIO#each hangs up on some input with `chomp: true`
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.0.3
Description
The mentioned StringIO method #each (as well as #readlines and #each_line) may hang up when passed a separator and chomp: true:
The same way behave other two methods:
Actions