Against PEP 240

Alex Martelli aleaxit at
Tue May 29 18:17:05 EDT 2001

"Cameron Laird" <claird at> wrote in message
news:0E0E06297253FE1B.D13D6C3BAEE41AD8.4A273FCB042833CB at
> Let's be precise:  extensions that pass float-
> ing point data will all be broken.  I don't

> regard broken extensions lightly; I know what
> a cost it can be to reassemble all the parts
> just to recreate what one had before.  Do you
> agree there'd be value in adding a coda to the
> PEP about how to rewrite extensions?  Shall

What about just reminding extension writers to
use PyFloat_AsDouble and emphatically _NOT_ the
PyFloat_AS_DOUBLE macro?  What am I missing?


More information about the Python-list mailing list