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
收信人 belopolsky, mark.dickinson
日期 2010-05-07.21:33:17
SpamBayes Score 0.00040651605
Marked as misclassified
Message-id <1273267998.95.0.353205378693.issue8644@psf.upfronthosting.co.za>
In-reply-to
内容
Thanks for the patch!  Comments, in increasing order of fussiness:

(1) there should be a Py_DECREF(total_microseconds) in the case that the "PyLong_FromLong(1000000L)" call fails

(2) in the docstring, replace 'loose' by 'lose'

(3) also in the docstring, I suggest replacing "280 years" by "270 years":   "td == timedelta(seconds = td.total_seconds())" starts failing at 2**33 seconds (around 272.2 Julian years) rather than 2**53 microseconds.
历史
日期 用户 动作 参数
2010-05-07 21:33:19mark.dickinson修改recipients: + mark.dickinson, belopolsky
2010-05-07 21:33:18mark.dickinson修改messageid: <1273267998.95.0.353205378693.issue8644@psf.upfronthosting.co.za>
2010-05-07 21:33:17mark.dickinson链接issue8644 messages
2010-05-07 21:33:17mark.dickinson创建