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
收信人 fredrikj, loewis, mark.dickinson, rhettinger, terry.reedy, vstinner
日期 2008-12-11.21:12:12
SpamBayes Score 2.573406e-09
Marked as misclassified
Message-id <1229029935.49.0.170376167392.issue3439@psf.upfronthosting.co.za>
In-reply-to
内容
Victor,

Thanks for the updated patch.

I think you need to do a PyErr_Clear after the 'return PyLong_FromSize_t' line.

To be safe, you should probably check the exception type first, and either 
do a PyErr_Clear and continue if it's an OverflowError, or just return 
NULL if it's some other exception.  It's true that _PyLong_NumBits can't 
raise anything other than OverflowError at the moment, but you never know 
when that might change. :)

I'm also getting a 'malformed table' warning when building the 
documentation.
历史
日期 用户 动作 参数
2008-12-11 21:12:16mark.dickinson修改recipients: + mark.dickinson, loewis, rhettinger, terry.reedy, vstinner, fredrikj
2008-12-11 21:12:15mark.dickinson修改messageid: <1229029935.49.0.170376167392.issue3439@psf.upfronthosting.co.za>
2008-12-11 21:12:14mark.dickinson链接issue3439 messages
2008-12-11 21:12:13mark.dickinson创建