Serhiy Storchaka added the comment:

This is a problem not only with CalledProcessError, but with all custom 
exceptions with overridden __init__. BaseException.__new__ saves positional 
arguments as the "args" attribute, but ignores keyword arguments. repr() and 
pickle use "args".

----------
nosy: +astrand, gregory.p.smith, serhiy.storchaka

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

Reply via email to