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 stutzbach
Recipients belopolsky, draghuram, mark.dickinson, rhettinger, stutzbach
Date 2010-05-14.20:09:47
SpamBayes Score 0.007592867
Marked as misclassified No
Message-id <1273867789.31.0.14819870266.issue8692@psf.upfronthosting.co.za>
In-reply-to
Content
I made a few minor updates to the patch.

It redefines partial_product to product(range(n, m, 2)), which saved me a few operations and is more Pythonic than what I had before. :-)

(Not quite what Alexander was after, but it's a step in the right direction.  His proposed defining of partial_product would have complicated my new base case.)
History
Date User Action Args
2010-05-14 20:09:49stutzbachsetrecipients: + stutzbach, rhettinger, mark.dickinson, belopolsky, draghuram
2010-05-14 20:09:49stutzbachsetmessageid: <1273867789.31.0.14819870266.issue8692@psf.upfronthosting.co.za>
2010-05-14 20:09:47stutzbachlinkissue8692 messages
2010-05-14 20:09:47stutzbachcreate