[issue23776] Don't use assert for checking arguments in pprint
Berker Peksag
report at bugs.python.org
Wed Mar 25 10:55:53 CET 2015
Berker Peksag added the comment:
Looks good. Two things:
* I'd apply this only to the default branch. Changing exceptions from AssertionError to ValueError in bugfix releases may break third party code. I couldn't find a similar bug report in the tracker, so it's probably not worth to take that risk.
* We should audit the standard library for similar issues
----------
assignee: -> serhiy.storchaka
nosy: +berker.peksag
stage: patch review -> commit review
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23776>
_______________________________________
More information about the Python-bugs-list
mailing list