[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
http://www.modpython.org/live/current/doc-html/dir-other-pomz.html),
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?

-- 
                    /L/e/k/t/u


More information about the Mod_python mailing list