Antoine Pitrou <solip...@pitrou.net> wrote:
> Well... Speaking personally, I'd much rather stop shipping and
> "supporting" such obscure build options. I'd like to hear about people
> using production Pythons --without-doc-strings.

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

$ du -h build/lib.linux-x86_64-3.4/
24K     build/lib.linux-x86_64-3.4/__pycache__
3.9M    build/lib.linux-x86_64-3.4/

$ ls -lh python
  1.8M Jan 26 16:36 python
$ ls -lh libpython3.4m.a
  9.6M Jan 26 16:36 libpython3.4m.a


===============================================================

./configure --without-doc-strings CFLAGS="-Os -s" LDFLAGS="-s" && make

$ du -h build/lib.linux-x86_64-3.4/
24K     build/lib.linux-x86_64-3.4/__pycache__
3.8M    build/lib.linux-x86_64-3.4/

$ ls -lh python
  1.6M Jan 26 16:33 python
$ ls -lh libpython3.4m.a
  9.4M Jan 26 16:33 libpython3.4m.a



Stefan Krah



_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to