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 mark.dickinson
Recipients Dennis Sweeney, mark.dickinson
Date 2020-02-17.10:47:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581936460.5.0.947870116998.issue39657@roundup.psfhosted.org>
In-reply-to
Content
> Should something like the following go in the standard library, most likely in the math module?

I'm not keen. Granted that the math module has exceeded its original remit of "wrappers for libm", but even so, I'd prefer to try to limit it to a basic set of building blocks. For me, things like CRT and xgcd go beyond that.

I'd suggest that for now, the right place for this sort of thing would be a PyPI library for elementary number theory. That library could include probably primality testing, basic factoring, continued fractions, primitive root finding, and other elementary number theory topics.
History
Date User Action Args
2020-02-17 10:47:40mark.dickinsonsetrecipients: + mark.dickinson, Dennis Sweeney
2020-02-17 10:47:40mark.dickinsonsetmessageid: <1581936460.5.0.947870116998.issue39657@roundup.psfhosted.org>
2020-02-17 10:47:40mark.dickinsonlinkissue39657 messages
2020-02-17 10:47:39mark.dickinsoncreate