8000 gh-83151: Make closure work on pdb by gaogaotiantian · Pull Request #111094 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-83151: Make closure work on pdb #111094

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

Merged
merged 13 commits into from
May 6, 2024
Merged
Prev Previous commit
Next Next commit
Remove blank line
  • Loading branch information
gaogaotiantian committed May 5, 2024
commit cc21873482db49b36afb223857dbaf54fc72b574
2 changes: 1 addition & 1 deletion Lib/pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ def _exec_in_closure(self, source, globals, locals):
"result": None,
"write_back": {}
}

# If the source is an expression, we need to print its value
try:
compile(source, "<string>", "eval")
Expand Down
0