Skip to content

gh-157777 Add commands to configure skipped modules in pdb - #157780

Draft
Delengowski wants to merge 6 commits into
python:mainfrom
Delengowski:pdb/parametrize_module_skipping
Draft

Delengowski wants to merge 6 commits into
python:mainfrom
Delengowski:pdb/parametrize_module_skipping

Conversation

@Delengowski

@Delengowski Delengowski commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

@Delengowski
Delengowski marked this pull request as draft September 19, 2026 12:33
@Delengowski

Copy link
Copy Markdown
Contributor Author

skip_stdlib adds exact and .* patterns for every name in sys.stdlib_module_names. Consequently, running skip afterward prints a large list.

My current implementation displays the complete underlying pattern set. This avoids additional state and keeps skip_stdlib equivalent to adding ordinary skip patterns.

Would maintainers prefer the complete transparent listing, or some summarized representation?

e.g. summarized

Skipped module patterns:
    package.*
Standard-library modules:
    enabled

If the summarized version is preferred, then how do we present it if a user decides to do unskip os.*?

I personally see a lot of value in a command for skipping all of the stdlib but it is adding extra complexity to this implementation with respect to how to display what is being skipped to the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant