Antoine Pitrou added the comment: Actually, I would suggest we standardize the docs on raising ValueError as the official behaviour, and fix non-compliant behaviours as bugs. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue15840> _______________________________________