Is it possible to build Python without floats (or other unwanted capabilities)

Stephen Horne steve at lurking.demon.co.uk
Mon Jul 23 23:33:53 EDT 2001


On Tue, 24 Jul 2001 00:35:49 GMT, bokr at accessone.com (Bengt Richter)
wrote:

>No, I meant really no floating point, including software. What if you had
>zero use for floating point, and wanted the benefit of a small footprint?

I see what you mean.

I don't know for sure, but given the target applications of stackless
Python it's quite possibly something they've addressed. With luck,
it's little more than a build option.

Beyond that I can't help, I'm afraid.

Subject line changed in the hope that someone else can...


>I wonder if the implementation is factored to where not using floating point
>would let you substitute small exception-raising stubs for otherwise large
>(?? usually, floating point carries a lot of baggage along in the C/C++ world)
>chunks concerned with floating point.
>
>Then that could be a make option. I was wondering if someone's been there done that.




More information about the Python-list mailing list