-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
guidelineTo be included in guidelines PEPTo be included in guidelines PEP
Description
From capi-workgroup/problems#51
Functions must not suppress unknown exceptions, except ones that specifically to do just that (like PyErr_Clear).
(#13 is related: If a function has a common “failure”, like “attribute not found” from a getattr, that can be treated as success instead, and be signaled with a dedicated return value. This avoids creating an exception object.)
Metadata
Metadata
Assignees
Labels
guidelineTo be included in guidelines PEPTo be included in guidelines PEP