I know why this is happening: almost uniquely, this curve has no
rational points except the points at infinity. The code picks that
point with probability 1/4, but otherwise it vainly looks for random x
in GF(3) giving a rational point, which will never succeed.
I'll make a ticket and provide a
I got this from the "report a problem" link:
.random_element() sometimes hangs on a particular elliptic curve
E = EllipticCurve(GF(3), [0,0,0,2,2])
E.random_element()
Sometimes this works (i.e. returns 0:1:0), most of the time it hangs
and spikes the cpu
Sometimes I can't even ^C and I have to