This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xiang.zhang
Recipients JelleZijlstra, brett.cannon, ned.deily, smcv, xiang.zhang
Date 2016-08-13.13:52:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471096321.06.0.875572365066.issue27736@psf.upfronthosting.co.za>
In-reply-to
Content
Try Simon's snippet I think I am right.

With the current code, the result is:

1..1
Segmentation fault (core dumped)

With Py_INCREF:

1..1
ok 1 - was able to loop 100 times

I upload the working patch.
History
Date User Action Args
2016-08-13 13:52:01xiang.zhangsetrecipients: + xiang.zhang, brett.cannon, ned.deily, JelleZijlstra, smcv
2016-08-13 13:52:01xiang.zhangsetmessageid: <1471096321.06.0.875572365066.issue27736@psf.upfronthosting.co.za>
2016-08-13 13:52:01xiang.zhanglinkissue27736 messages
2016-08-13 13:52:00xiang.zhangcreate