消息 [160005]
> 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:37 | mark.dickinson | 修改 | recipients:
+ mark.dickinson, loewis, georg.brandl, larry, eric.smith, benjamin.peterson, serhiy.storchaka |
| 2012-05-05 16:45:37 | mark.dickinson | 修改 | messageid: <1336236337.7.0.345494296829.issue14705@psf.upfronthosting.co.za> |
| 2012-05-05 16:45:37 | mark.dickinson | 链接 | issue14705 messages |
| 2012-05-05 16:45:37 | mark.dickinson | 创建 | |
|