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

People may use SystemError for other purposes, but the docs are pretty clear it 
is only for internal errors that indicate an interpreter bug: 
http://docs.python.org/dev/library/exceptions.html#SystemError

Extension modules or an embedding application passing in bad data that fails a 
validation check isn't such a situation, so raising TypeError or ValueError is 
more appropriate.

----------

_______________________________________
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