Commit 1fbb212
committed
pdb: fix expression result output stream in
Fixes an issue where results of expressions executed via
`_exec_in_closure()` were written to `sys.stdout` instead
of the debugger output stream.
Adds a regression test to ensure expression results are
consistently emitted via pdb.stdout.
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>_exec_in_closure()
1 parent bdba5f0 commit 1fbb212
2 files changed
+23
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
888 | 888 | | |
889 | 889 | | |
890 | 890 | | |
891 | | - | |
| 891 | + | |
892 | 892 | | |
893 | 893 | | |
894 | 894 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3666 | 3666 | | |
3667 | 3667 | | |
3668 | 3668 | | |
| 3669 | + | |
| 3670 | + | |
| 3671 | + | |
| 3672 | + | |
| 3673 | + | |
| 3674 | + | |
| 3675 | + | |
| 3676 | + | |
| 3677 | + | |
| 3678 | + | |
| 3679 | + | |
| 3680 | + | |
| 3681 | + | |
| 3682 | + | |
| 3683 | + | |
| 3684 | + | |
| 3685 | + | |
| 3686 | + | |
| 3687 | + | |
| 3688 | + | |
| 3689 | + | |
| 3690 | + | |
3669 | 3691 | | |
3670 | 3692 | | |
3671 | 3693 | | |
| |||
0 commit comments