[pypy-issue] [issue1188] Support -OO

Armin Rigo tracker at bugs.pypy.org
Wed Jun 20 18:08:49 CEST 2012


New submission from Armin Rigo <armin.rigo at gmail.com>:

"python-dev" discussed again the -O and -OO options to Python.  It seems that
even without -O support, it would still be useful to support -OO ("remove
doc-strings").  An easy implementation would be to strip the docstring from code
objects when they leave the compiler/.pyc writer/.pyc loader.  They would still
be present during compilation and in the written .pyc files.  This would only be
a memory saving optimization.

----------
messages: 4482
nosy: arigo, pypy-issue
priority: wish
status: unread
title: Support -OO

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1188>
________________________________________


More information about the pypy-issue mailing list