STINNER Victor added the comment:

I dislike passing a error message in the function name. I suggest to instead 
raise a new exception with a better error message and chain it with the 
previous exception.

----------
nosy: +haypo

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

Reply via email to