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 vstinner
Recipients Ananthakrishnan, lemburg, mark.dickinson, rhettinger, stutzbach, vstinner
Date 2020-01-28.14:06:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
There is math.gcd():

You can use numpy.lcm():

Is it common to need lcm()? Do you have examples of applications which need lcm()? It's trivial to implement lcm():

I suggest to reject this feature request, since I never needed lcm() in 10 years of Python, whereas I use gcd() time to time.
Date User Action Args
2020-01-28 14:06:06vstinnersetrecipients: + vstinner, lemburg, rhettinger, mark.dickinson, stutzbach, Ananthakrishnan
2020-01-28 14:06:06vstinnersetmessageid: <>
2020-01-28 14:06:06vstinnerlinkissue39479 messages
2020-01-28 14:06:06vstinnercreate