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 CliffM
Recipients CliffM
Date 2013-10-12.21:39:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
While implementing a Least-Common-Multiple function (LCM), I noticed that although python has a Greatest-Common-Divisor (GCD) function in the fractions module, the LCM, its counterpart is not there.

I've attached a patch which implements and tests LCM in the fractions module. 

It would really need documentation, but maybe GCD and LCD should be moved to the math module first ?
Date User Action Args
2013-10-12 21:39:45CliffMsetrecipients: + CliffM
2013-10-12 21:39:45CliffMsetmessageid: <>
2013-10-12 21:39:45CliffMlinkissue19237 messages
2013-10-12 21:39:45CliffMcreate