Message270746
> 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.
I think the easiest fix is OK. The new thread initialization is consistent and should not be changed. The Py_None seems to be set in somewhere in ceval but I am not sure where. You can see at https://hg.python.org/cpython/file/tip/Python/ceval.c#l1200 both NULL and Py_None are checked. |
|
Date |
User |
Action |
Args |
2016-07-18 10:41:34 | xiang.zhang | set | recipients:
+ xiang.zhang, ztane, Romuald |
2016-07-18 10:41:34 | xiang.zhang | set | messageid: <1468838494.72.0.137820198987.issue27558@psf.upfronthosting.co.za> |
2016-07-18 10:41:34 | xiang.zhang | link | issue27558 messages |
2016-07-18 10:41:34 | xiang.zhang | create | |
|