[issue11286] Some "trivial" python 2.x pickles fails to load in Python 3.2

Nick Coghlan report at bugs.python.org
Sat Feb 26 12:16:04 CET 2011


Nick Coghlan <ncoghlan at 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 <report at bugs.python.org>
<http://bugs.python.org/issue11286>
_______________________________________


More information about the Python-bugs-list mailing list