summaryrefslogtreecommitdiff
path: root/lib/pry.rb
diff options
context:
space:
mode:
authorKyrylo Silin <silin@kyrylo.org>2019-05-04 01:52:44 +0300
committerKyrylo Silin <silin@kyrylo.org>2019-05-04 02:20:51 +0300
commit9a6c14f9ee745ad07b491744b4776dc9d5dbd082 (patch)
tree4de7da28317a52c9303be5bf96ca6ffcf773bcb5 /lib/pry.rb
parent69dd1a14bde6b02d24509c446e7b83b2807f8ef2 (diff)
downloadpry-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.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/pry.rb b/lib/pry.rb
index 623562c1..4b07bc11 100644
--- a/lib/pry.rb
+++ b/lib/pry.rb
@@ -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)