8000 gh-58319: IDLE: Add interrupt handle when open debugger by mlouielu · Pull Request #1821 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-58319: IDLE: Add interrupt handle when open debugger #1821

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into bpo-14111
  • Loading branch information
terryjreedy authored Nov 28, 2022
commit 48e20250aee539d67c13c6aa6fceb379ab62da0f
12 changes: 8 additions & 4 deletions Lib/idlelib/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,10 +562,14 @@ class Executive:

def __init__(self, rpchandler):
self.rpchandler = rpchandler
self.locals = __main__.__dict__
self.calltip = calltip.Calltip()
self.autocomplete = autocomplete.AutoComplete()
self.idb = None

if idlelib.testing is False:
self.locals = __main__.__dict__
self.calltip = calltip.Calltip()
self.autocomplete = autocomplete.AutoComplete()
self.idb = None
else:
self.locals = {}

def runcode(self, code):
global interruptable
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0