-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
type: enhancementnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branchtype: feature-branchnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branchtype: proposalproposal for a new feature, often to gather opinions or design the API around the new featureproposal for a new feature, often to gather opinions or design the API around the new feature
Description
The current __tracebackhide__ mechanism to hide internal code details from traceback entries is too brittle; some small refactor might start to show internal code details to users.
I propose adding a new __tracebackhideall__ mechanism which when found and set to True will strip all frames below it. This way we can add to __tracebackhideall__ at the module level of a package and any traceback from it will be hidden.
Metadata
Metadata
Assignees
Labels
type: enhancementnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branchtype: feature-branchnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branchtype: proposalproposal for a new feature, often to gather opinions or design the API around the new featureproposal for a new feature, often to gather opinions or design the API around the new feature