cpython: 678dba60c12d (original) (raw)

Mercurial > cpython

changeset 80722:678dba60c12d 3.3

Merge issue #13120: Allow to call pdb.set_trace() from thread. Patch by Ilya Sandler. [#13120]

Andrew Svetlov andrew.svetlov@gmail.com
date Tue, 04 Dec 2012 21:10:20 +0200
parents 6f8b5336beae(current diff)708586792eec(diff)
children 4006c4ca0c1f 4e5c690e7f99
files Lib/pdb.py Lib/test/test_pdb.py Misc/NEWS
diffstat 3 files changed, 39 insertions(+), 2 deletions(-)[+] [-] Lib/pdb.py 11 Lib/test/test_pdb.py 27 Misc/NEWS 3

line wrap: on

line diff

--- a/Lib/pdb.py +++ b/Lib/pdb.py @@ -1031,8 +1031,15 @@ class Pdb(bdb.Bdb, cmd.Cmd): Continue execution, only stop when a breakpoint is encountered. """ if not self.nosigint:

--- a/Lib/test/test_pdb.py +++ b/Lib/test/test_pdb.py @@ -667,6 +667,33 @@ class PdbTestCase(unittest.TestCase): any('main.py(5)foo()->None' in l for l in stdout.splitlines()), 'Fail to step into the caller after a return')

+

+

+

+ def tearDown(self): support.unlink(support.TESTFN)

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -104,6 +104,9 @@ Core and Builtins Library ------- +- Issue #13120: Allow to call pdb.set_trace() from thread.