Why gmp is not in the standard library?
Tim Churches
tchur at optushome.com.au
Thu Jan 15 16:20:35 EST 2004
On Thu, 2004-01-15 at 21:11, Miki Tebeka wrote:
> Which made me think why Python don't use gmp as it's primary math
> package - we'll get fast results, a lot of number types and much more.
>
> Can't think of any reason why Python is implementing its own long
> numbers...
> Can you enlighten me?
As others have said, re-engineering Python to use GMP numeric types
would be a huge undertaking. But I think there is a case to be made for
including gmpy as a library in the standard Python distribution. It is
very small and doesn't take long to compile, but is incredibly useful.
Of course, someone would need to prepare Python-style docs, and someone
would need to track GMP development and update the version included with
Python at each release (the current gmpy developers perhaps) - thus I
suspect it is more a resourcing issue than anything else. However, if
some dead wood is ever removed from the Python standard library, I would
love to see gmpy take its place. Thanks to the gmpy (and GMP) developer,
BTW.
--
Tim C
PGP/GnuPG Key 1024D/EAF993D0 available from keyservers everywhere
or at http://members.optushome.com.au/tchur/pubkey.asc
Key fingerprint = 8C22 BF76 33BA B3B5 1D5B EB37 7891 46A9 EAF9 93D0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/python-list/attachments/20040116/5ab6872d/attachment.sig>
More information about the Python-list
mailing list