[Python-Dev] Anyone building Python --without-doc-strings?

Stefan Krah stefan at bytereef.org
Sat Jan 26 17:03:59 CET 2013


Stefan Krah <stefan at bytereef.org> wrote:
> I'm not sure how accurate the output is for measuring these things, but
> according to ``ls'' and ``du'' the option is indeed quite worthless:
> 
> ./configure CFLAGS="-Os -s" LDFLAGS="-s" && make
>   1.8M Jan 26 16:36 python
> ./configure --without-doc-strings CFLAGS="-Os -s" LDFLAGS="-s" && make
>   1.6M Jan 26 16:33 python

The original contribution *was* in fact aiming for "10% smaller", see:

http://docs.python.org/release/2.3/whatsnew/node20.html


So apparently people thought it was useful.



Stefan Krah




More information about the Python-Dev mailing list