[Python-ideas] Add the imath module

Jeroen Demeyer J.Demeyer at UGent.be
Fri Jul 13 07:36:55 EDT 2018


On 2018-07-13 11:50, Jacco van Dorp wrote:
> At the very least, use is_likely_prime() as function name.

I agree with you here: the function name should reflect what it actually 
does. (Note that the technical term is "probable prime", so it should be 
is_probable_prime)

But I don't think that the Python stdlib should have a proven is_prime() 
function because that would be complicated, slow and have very limited 
benefit over is_probable_prime().


More information about the Python-ideas mailing list