Issue 36250: pdb: interaction might cause "ValueError: signal only works in main thread" (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/80431

classification

Title: pdb: interaction might cause "ValueError: signal only works in main thread"
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.9, Python 3.8

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: blueyed, miss-islington, zach.ware
Priority: normal Keywords: patch

Created on 2019-03-09 14:23 by blueyed, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 12251 merged blueyed,2019-03-09 15:05
PR 15752 merged miss-islington,2019-09-09 10:46
Messages (3)
msg337572 - (view) Author: daniel hahler (blueyed) * Date: 2019-03-09 14:23
This is similar to https://bugs.python.org/issue13120. I have a patch for a fix already, but no test - will add a PR for it. Fixed in pdbpp in https://github.com/antocuni/pdb/pull/143, which also has a test that demonstrates it.
msg351421 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2019-09-09 10:46
New changeset 8d64bfafdffd9f866bb6ac2e5b4c4bdfcb16aea0 by Zachary Ware (Daniel Hahler) in branch 'master': bpo-36250: ignore ValueError from signal in non-main thread (GH-12251) https://github.com/python/cpython/commit/8d64bfafdffd9f866bb6ac2e5b4c4bdfcb16aea0
msg351430 - (view) Author: miss-islington (miss-islington) Date: 2019-09-09 11:25
New changeset 87a5a331eab5a99538d60a6dab25bdf299a68e3e by Miss Islington (bot) in branch '3.8': bpo-36250: ignore ValueError from signal in non-main thread (GH-12251) https://github.com/python/cpython/commit/87a5a331eab5a99538d60a6dab25bdf299a68e3e
History
Date User Action Args
2022-04-11 14:59:12 admin set github: 80431
2019-09-09 11:25:24 miss-islington set nosy: + miss-islingtonmessages: +
2019-09-09 10:47:30 zach.ware set status: open -> closedstage: patch review -> resolvedresolution: fixedversions: + Python 3.9
2019-09-09 10:46:12 miss-islington set pull_requests: + <pull%5Frequest15406>
2019-09-09 10:46:01 zach.ware set messages: +
2019-03-10 08:40:50 SilentGhost set nosy: + zach.waretype: behavior
2019-03-09 15:05:39 blueyed set keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest12239>
2019-03-09 14:23:45 blueyed create