[Python-Dev] Google Summer of Code proposal: improvement of long int and adding new types/modules.

Josiah Carlson jcarlson at uci.edu
Fri Apr 21 21:22:50 CEST 2006


"Tim Peters" <tim.peters at gmail.com> wrote:
> [Mateusz Rukowicz]
> >> And last thing - It would be nice to add some number-theory functions to
> >> math module (or new one), like prime-tests,
> 
> If they think doing much more here is out of bounds for them, trying
> to sneak it into longobject.c is crazy :-)  Note that tests like
> Miller-Rabin are very easy to code in Python.

I've seen at least two examples of such in the ASPN Python cookbook.

 - Josiah



More information about the Python-Dev mailing list