Message129529
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. |
|
Date |
User |
Action |
Args |
2011-02-26 11:16:04 | ncoghlan | set | recipients:
+ ncoghlan, lemburg, georg.brandl, jcea, mark.dickinson, belopolsky, pitrou |
2011-02-26 11:16:04 | ncoghlan | set | messageid: <1298718964.54.0.0936253296452.issue11286@psf.upfronthosting.co.za> |
2011-02-26 11:16:02 | ncoghlan | link | issue11286 messages |
2011-02-26 11:16:02 | ncoghlan | create | |
|