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.

作者 mark.dickinson
收信人 benjamin.peterson, eric.smith, georg.brandl, larry, loewis, mark.dickinson, serhiy.storchaka
日期 2012-05-05.16:45:37
SpamBayes Score -1.0
Marked as misclassified
Message-id <1336236337.7.0.345494296829.issue14705@psf.upfronthosting.co.za>
In-reply-to
内容
> Having meditated on it, I think either I should either just call
> PyErr_Occured, check for explicit failure (val < 0), or explicit success
> (val >= 0).  I've opted for the last of those.

Yes, I think that works; it avoids a relatively expensive PyErr_Occurred() call in the non-failure case.  The new code looks fine to me!
历史
日期 用户 动作 参数
2012-05-05 16:45:37mark.dickinson修改recipients: + mark.dickinson, loewis, georg.brandl, larry, eric.smith, benjamin.peterson, serhiy.storchaka
2012-05-05 16:45:37mark.dickinson修改messageid: <1336236337.7.0.345494296829.issue14705@psf.upfronthosting.co.za>
2012-05-05 16:45:37mark.dickinson链接issue14705 messages
2012-05-05 16:45:37mark.dickinson创建