Issue 36335: Factor out / add bdb.Bdb.is_skipped_frame

Issue36335

Created on 2019-03-18 03:30 by blueyed, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 12392 open blueyed, 2019-03-18 03:31
Messages (1)
msg338159 - (view) Author: daniel hahler (blueyed) * Date: 2019-03-18 03:30
In https://bugs.python.org/issue36130 is_skipped_module was changed to handle frames without __name__, but I think it makes sense being able to skip e.g. frames on frame.f_code.co_name then.

Factoring out is_skipped_frame allows for this.

The default implementation would call is_skipped_module if there are any skip patterns, and return False otherwise.
History
Date User Action Args
2022-04-11 14:59:12adminsetgithub: 80516
2019-03-18 03:31:28blueyedsetkeywords: + patch
stage: patch review
pull_requests: + pull_request12347
2019-03-18 03:30:29blueyedcreate