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 mepstein
Recipients mepstein, xiang.zhang
Date 2017-02-04.07:33:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486193615.51.0.565470409263.issue29405@psf.upfronthosting.co.za>
In-reply-to
Content
That's right, with 11 lines in the sample data, total will become 20 on the second iteration.  And that throws off some of the computations done in that function.

Your patch looks good, in that it will achieve what I'm requesting.  But :-), your pointing out that other redundant min() made me take a closer look at the code, and led me to produce the attached patch as an alternate suggestion.  I think it makes the code a bit more sensible and cleaner.  Please review, and go with what you think best.

Thanks.
History
Date User Action Args
2017-02-04 07:33:35mepsteinsetrecipients: + mepstein, xiang.zhang
2017-02-04 07:33:35mepsteinsetmessageid: <1486193615.51.0.565470409263.issue29405@psf.upfronthosting.co.za>
2017-02-04 07:33:35mepsteinlinkissue29405 messages
2017-02-04 07:33:35mepsteincreate