[issue36388] pdb: do_debug installs sys.settrace handler when used inside post_mortem

2020-11-08 Thread daniel hahler
Change by daniel hahler : -- pull_requests: +22102 pull_request: https://github.com/python/cpython/pull/23202 ___ Python tracker ___

[issue36388] pdb: do_debug installs sys.settrace handler when used inside post_mortem

2019-03-21 Thread daniel hahler
Change by daniel hahler : -- keywords: +patch pull_requests: +12431 stage: -> patch review ___ Python tracker ___ ___

[issue36388] pdb: do_debug installs sys.settrace handler when used inside post_mortem

2019-03-21 Thread daniel hahler
New submission from daniel hahler : It seems like the "debug" command is not properly handled with "post_mortem()". It appears due to using `sys.settrace(self.trace_dispatch)` in the end of `do_debug`, although no tracing is installed with post_mortem in the first place. More info: Given