[issue23571] Raise SystemError if a function returns a result with an exception set

Antoine Pitrou report at bugs.python.org
Sat Mar 21 12:32:39 CET 2015


Antoine Pitrou added the comment:

Instead of an assert(), you could use Py_FatalError() at the end of _Py_CheckFunctionResult().

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23571>
_______________________________________


More information about the Python-bugs-list mailing list