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 veky
Recipients Ananthakrishnan, lemburg, mark.dickinson, rhettinger, serhiy.storchaka, steven.daprano, stutzbach, tim.peters, veky, vstinner
Date 2020-02-02.07:52:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580629948.16.0.268853784976.issue39479@roundup.psfhosted.org>
In-reply-to
Content
Tim: Considering that congruence is _defined_ as x=y(mod m) :<=> m|y-x, it's really not so surprising. :-)

Steven: It seems that we completely agree about inclusion of is_probabilistic_prime in stdlib. And we agree that it should be called isprime (or is_prime if Raymond names it;). About the bikeshedding, see Tim's comment. :-P

About absolutely correct algorithms: first, what exactly is your claim? If it's "I can write an algorithm in pure Python that can for every number of 397 digits mathematically exactly determine whether it is prime in under 6 seconds", I'd very much like to see that algorithm. (I guess it must be publicly available, since we're speaking about inclusion in Python stdlib.) I really don't have much expertise in number theory that I can be convinced it doesn't exist, but I very much doubt it.
History
Date User Action Args
2020-02-02 07:52:28vekysetrecipients: + veky, lemburg, tim.peters, rhettinger, mark.dickinson, vstinner, stutzbach, steven.daprano, serhiy.storchaka, Ananthakrishnan
2020-02-02 07:52:28vekysetmessageid: <1580629948.16.0.268853784976.issue39479@roundup.psfhosted.org>
2020-02-02 07:52:28vekylinkissue39479 messages
2020-02-02 07:52:27vekycreate