Nick Coghlan <ncogh...@gmail.com> added the comment:

A SystemError indicates that an internal API was given bogus input or produces 
bogus output (i.e. we screwed up somewhere, or a third party is messing with 
interfaces they shouldn't be)

If data validation fails for part of the public C API (whether it is visible to 
Python code or not), then ValueError is the right thing to raise.

----------

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

Reply via email to