diff options
| author | Kyrylo Silin <silin@kyrylo.org> | 2019-05-04 01:52:44 +0300 |
|---|---|---|
| committer | Kyrylo Silin <silin@kyrylo.org> | 2019-05-04 02:20:51 +0300 |
| commit | 9a6c14f9ee745ad07b491744b4776dc9d5dbd082 (patch) | |
| tree | 4de7da28317a52c9303be5bf96ca6ffcf773bcb5 /lib/pry.rb | |
| parent | 69dd1a14bde6b02d24509c446e7b83b2807f8ef2 (diff) | |
| download | pry-control-d-handler-removal.tar.gz | |
config: delete the `control_d_handler` optioncontrol-d-handler-removal
This change is a preparational step for #1824 (Enabling `frozen_string_literal:
true` in `~/.pryc` crashes most operations).
The handler was mutating `eval_string` that we pass, and this behaviour will
stop working in Ruby 3.
I was pondering about keeping this option but couldn't come up with an easy
solution. I made a GitHub search to see if anybody uses it, and it seems like
nobody configures it. I am not sure why anybody would want to do that, so I hope
it won't be missed.
The handler's behaviour wasn't deleted, it is still in place. We just moved the
handler's code to `pry_instance.rb`.
Diffstat (limited to 'lib/pry.rb')
| -rw-r--r-- | lib/pry.rb | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -23,7 +23,6 @@ require 'pry/history' require 'pry/color_printer' require 'pry/exception_handler' require 'pry/system_command_handler' -require 'pry/control_d_handler' require 'pry/command_state' Pry::Commands = Pry::CommandSet.new unless defined?(Pry::Commands) |
