This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients belopolsky, georg.brandl, jcea, lemburg, mark.dickinson, ncoghlan, pitrou
Date 2011-02-26.11:16:02
SpamBayes Score 2.2997283e-05
Marked as misclassified No
Message-id <1298718964.54.0.0936253296452.issue11286@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-02-26 11:16:04ncoghlansetrecipients: + ncoghlan, lemburg, georg.brandl, jcea, mark.dickinson, belopolsky, pitrou
2011-02-26 11:16:04ncoghlansetmessageid: <1298718964.54.0.0936253296452.issue11286@psf.upfronthosting.co.za>
2011-02-26 11:16:02ncoghlanlinkissue11286 messages
2011-02-26 11:16:02ncoghlancreate