New submission from Facundo Batista:

I normally print(repr()) the exception I got, for debugging purposes. I use 
repr() because for builtin exceptions, str() will print only the message, and 
not the exception type.

But for HTTPError, the repr() of it is "HTTPError()", without further 
explanation...

----------
messages: 240262
nosy: facundobatista
priority: normal
severity: normal
status: open
title: HTTPError doesn't have a good "repr" representation
versions: Python 3.4

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

Reply via email to