This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Factor out / add bdb.Bdb.is_skipped_frame
Type: enhancement Stage: patch review
Components: Library (Lib) Versions: Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: blueyed
Priority: normal Keywords: patch

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