It looks like isprimepower() relies on isprime() - is there a way to make it use ispseudoprime() instead?
In general, I'd like to have a global option that will use ispseudoprime() instead of isprime() everywhere where primality testing is needed. Is there such a thing?