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 mark.dickinson
Recipients belopolsky, mark.dickinson
Date 2010-05-07.21:33:17
SpamBayes Score 0.00040651605
Marked as misclassified No
Message-id <1273267998.95.0.353205378693.issue8644@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-05-07 21:33:19mark.dickinsonsetrecipients: + mark.dickinson, belopolsky
2010-05-07 21:33:18mark.dickinsonsetmessageid: <1273267998.95.0.353205378693.issue8644@psf.upfronthosting.co.za>
2010-05-07 21:33:17mark.dickinsonlinkissue8644 messages
2010-05-07 21:33:17mark.dickinsoncreate