[mod_python] PythonOptimize does -OO, not -O

Juanma Barranquero lekktu at gmail.com
Mon Dec 13 06:09:28 EST 2004

According to documentation for mod_python 3.1 (at
the PythonOptimize directive functionality is:

  Enables Python optimization. Same as the Python -O option.

However, it is doing the same that Python -OO option, i.e., it is
removing docstrings from Python bytecode files. Is that a docs or
implementation bug?


More information about the Mod_python mailing list