Antti Haapala added the comment:

OTOH, if you put sys.exc_info() in place of raise there, it correctly (None, 
None, None) there, because it does (sysmodule.c:sys_exc_info)

        tstate->exc_type != NULL ? tstate->exc_type : Py_None,

Easiest fix would be to make do_raise test for both NULL and None, but I'd 
really consider fixing the new thread initialization if possible.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27558>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to