[issue1169] Option -OO doesn't remove docstrings from functions

Daniele Varrazzo report at bugs.python.org
Sun Sep 16 18:07:42 CEST 2007


New submission from Daniele Varrazzo:

The issue was already addressed in Issue1722485.

The fix applied in rev. 55732, 55733 only fixes module and class
docstrings, not function docstrings.

The attached patch fixed the issue for function docstrings too.

----------
components: None
files: fix_function_docstring.patch
messages: 55945
nosy: piro
severity: normal
status: open
title: Option -OO doesn't remove docstrings from functions
type: compile error
versions: Python 2.5

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1169>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_function_docstring.patch
Type: text/x-patch
Size: 419 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-bugs-list/attachments/20070916/41418fd7/attachment-0001.bin 


More information about the Python-bugs-list mailing list