Jarle Selvåg added the comment:
I agree that -OO does what (people have agreed) it's supposed to do.
Many packages manipulates the docstring without checking for 'None' (see list
below). For many package developers, it seems hard to remember that the
docstrings may
Jarle Selvåg added the comment:
This issue is only relevant for classes that have this construct:
class MyClass(object):
__doc__ += '''Some more text'''
--
___
Python tracker
<
New submission from Jarle Selvåg:
Python code byte-compiled with -OO has doc-strings stripped out.
This creates problems when compiling different packages which changes the
doc-strings by doing something like this:
__doc__ += "additional text"
(when the docstring is 'N