On Dec 16, 2008, at 7:47 AM, mabshoff wrote: > On Dec 16, 7:44 am, "William Stein" <[email protected]> wrote: > > <SNIP> > >> I posted a patch there that does some error checking at least. It's >> minimal. I hope somebody will referee it asap so it can go in >> sage-3.2.2. >> >> The real longterm solution to this problem is to totally rewrite the >> GMP interface so that it uses Cython and doesn't use expect at all. >> That's for another ticket. > > Thanks to Robert Miller that is already in Sage: > > sage: import sage.libs.libecm > sage: from sage.libs.libecm import ecmfactor > sage: result = ecmfactor(999, 0.00) > sage: result in [(True, 27), (True, 37), (True, 999)] > True > sage: result = ecmfactor(999, 0.00, verbose=True) > Performing one curve with B1=0 > Found factor in step 1: ... > sage: result in [(True, 27), (True, 37), (True, 999)] > True
Is there any reason we're still shipping the old interface? - Robert --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
