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 serhiy.storchaka
Recipients Ananthakrishnan, SilentGhost, mark.dickinson, rhettinger, serhiy.storchaka, steven.daprano, tim.peters
Date 2020-02-16.17:08:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Python as programming language provides builtin blocks. This is a good example of using functools.reduce().

But if you can provide an algorithm for calculating the GCD and LCM more efficient than sequential applying gcd() and lcm() for two arguments, it would be an argument for implementing it in the stdlib.
Date User Action Args
2020-02-16 17:08:16serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, rhettinger, mark.dickinson, steven.daprano, SilentGhost, Ananthakrishnan
2020-02-16 17:08:16serhiy.storchakasetmessageid: <>
2020-02-16 17:08:16serhiy.storchakalinkissue39648 messages
2020-02-16 17:08:16serhiy.storchakacreate