cpython: 708586792eec (original) (raw)

Mercurial > cpython

changeset 80721:708586792eec 3.2

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:08:28 +0200
parents c9b62cd81e1f
children 678dba60c12d 26056f8a0afe
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 @@ -955,8 +955,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 @@ -664,6 +664,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 @@ -175,6 +175,9 @@ Core and Builtins Library ------- +- Issue #13120: Allow to call pdb.set_trace() from thread.