Why gmp is not in the standard library?

Skip Montanaro skip at pobox.com
Thu Jan 15 10:04:28 EST 2004


    Miki> Which made me think why Python don't use gmp as it's primary math
    Miki> package - we'll get fast results, a lot of number types and much
    Miki> more.

    Miki> Can't think of any reason why Python is implementing its own long
    Miki> numbers...  Can you enlighten me?

In addition to the reasons Michael Hudson provided, I'll add:

    * Python's native longs have been around much longer than gmpy, perhaps
      even predating gmp itself.

    * Converting from Python's longs to gmpy would probably be at least a
      moderately nontrivial undertaking.

Skip




More information about the Python-list mailing list