New submission from daniel hahler <python-b...@thequod.de>:

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.

----------
components: Library (Lib)
messages: 338159
nosy: blueyed
priority: normal
severity: normal
status: open
title: Factor out / add bdb.Bdb.is_skipped_frame
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36335>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to