Should we call sort then probable_sort, since the non-zero probability exists of it going wrong due to a stray cosmic ray?
It's pointless to worry about failure modes which are order of magnitudes unlikelier than hardware failure. Stephan Op vr 13 jul. 2018 14:45 schreef Jeroen Demeyer <j.deme...@ugent.be>: > On 2018-07-13 14:11, Steven D'Aprano wrote: > > What it *actually* does is: > > > > > is_almost_certainly_prime_except_for_a_ludicrously_microscopic_chance_of_error_thousands_of_times_less_likely_than_a_stray_cosmic_ray_flipping_a_bit_in_memory_and_causing_the_wrong_result_to_be_returned() > > That's just a long variant of is_probable_prime() > > > If your bank is satisfied with "mere probable prime number" to transfer > > billions of dollars around the world, then I'm sure that the users of > > Python's std library should be too. > > That's besides the point. I agree that probable primes are good enough, > just don't call them "prime". > _______________________________________________ > Python-ideas mailing list > Python-ideas@python.org > https://mail.python.org/mailman/listinfo/python-ideas > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/