On 2018-07-13 10:43, Jacco van Dorp wrote:
If there's going to be failure possible primality tests, there should also exist certain ones. No matter how slow it can be to do it.
A certain primality test would be too specialized for the Python stdlib. If you really need that (which you typically don't), there are existing number theory packages.
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/