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 CliffM, mark.dickinson, tim.peters
Date 2013-10-13.09:12:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381655542.26.0.562831865067.issue19237@psf.upfronthosting.co.za>
In-reply-to
Content
To get the boundary cases correct, you need a special case for lcm(0, 0), which should be 0.

Did you have any particular use-cases in mind for this?  It may make sense to allow multiple arguments:  e.g., lcm(4, 5, 6) -> 60.

Overall, I'm -0 on this addition: I don't think it comes up often enough to make it worth adding, and when it does come up it's easy to create the lcm from the gcd (just as your patch does).
History
Date User Action Args
2013-10-13 09:12:22mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, CliffM
2013-10-13 09:12:22mark.dickinsonsetmessageid: <1381655542.26.0.562831865067.issue19237@psf.upfronthosting.co.za>
2013-10-13 09:12:22mark.dickinsonlinkissue19237 messages
2013-10-13 09:12:22mark.dickinsoncreate