[#97086] [Ruby master Bug#16612] Enumerator::ArithmeticSequence#last with float range produces incorrect value — muraken@...
Issue #16612 has been updated by mrkn (Kenta Murata).
4 messages
2020/02/07
[#97307] [Ruby master Feature#16663] Add block or filtered forms of Kernel#caller to allow early bail-out — headius@...
Issue #16663 has been reported by headius (Charles Nutter).
29 messages
2020/02/28
[ruby-core:97250] [Ruby master Bug#16647] Redefining $/ causes irb to misbehave
From:
aycabta@...
Date:
2020-02-24 14:58:38 UTC
List:
ruby-core #97250
Issue #16647 has been updated by aycabta (aycabta .). Status changed from Open to Closed It was a problem with Reline. I fixed it by https://github.com/ruby/reline/pull/129. > My personal opinion is we should deprecate all these variables affecting default separators, > they tend to break any non-trivial program, not just IRB, and explicit seems always clearer. I think so, but...maybe, so many beginners use IRB to check Ruby's features. It's just my opinion, and it was easy to fix. So I fixed it for beginners. > hanging these variables is deprecated now, and it shows a warning Yes, @nobu said "I forgot it (#14240) to create Pull Request (https://github.com/ruby/ruby/pull/2920) even I created a branch." after I talked about this issue (#16647) to @nobu. I'll remove the fix of Reline after the global variables are completely removed. ---------------------------------------- Bug #16647: Redefining $/ causes irb to misbehave https://bugs.ruby-lang.org/issues/16647#change-84367 * Author: mehagar (Michael Hagar) * Status: Closed * Priority: Normal * ruby -v: ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin19] * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- If I start irb and then do: ``` ruby $/ = "asdf" ``` then every character I type shows a newline on the irb console. Previous versions of ruby do not have this behavior, and it is annoying. -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>