Danilo J. S. Bellini wrote: > If we have a fast and exact primality test up to 2**64, > a signature like this would help: > > def is_prime(n, probabilistic=False): Two separate functions would be better, by the "no constant boolean parameters" rule. -- Greg