You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ShadowLNC opened this issue
Jan 14, 2016
· 2 comments
Assignees
Labels
🚨This issue needs some love.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
Here's the constructor signature: def __init__(self, reason, resp=None, content=None):, which doesn't require resp to be defined, and I can see it is not defined most of the time, for example, in googleapiclient/http.py.
🚨This issue needs some love.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
This one should be pretty simple, I hope.
Here's the constructor signature:
def __init__(self, reason, resp=None, content=None):
, which doesn't requireresp
to be defined, and I can see it is not defined most of the time, for example, in googleapiclient/http.py.Then, given the representation method:
Which is also the string method:
This results in unprintable exceptions where
resp
is undefined, which is not very helpful when attempting to understand the error (e.g. #164).The text was updated successfully, but these errors were encountered: