Issue 1169: Option -OO doesn't remove docstrings from functions (original ) (raw ) Issue1169
Created on 2007-09-16 16:07 by piro , last changed 2022-04-11 14:56 by admin . This issue is now closed .
Messages (3)
msg55945 - (view)
Author: Daniele Varrazzo (piro) *
Date: 2007-09-16 16:07
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.
msg55946 - (view)
Author: Daniele Varrazzo (piro) *
Date: 2007-09-16 16:20
The attached file shows the issue: running with -OO no docstring should be printed. In rev 58163 the functions docstrings are still printed.
msg56029 - (view)
Author: Georg Brandl (georg.brandl) *
Date: 2007-09-19 06:37
Fixed in rev. 58204 , 58205 (2.5).
History
Date
User
Action
Args
2022-04-11 14:56:26
admin
set
github: 45510
2007-09-19 06:37:38
georg.brandl
set
status: open -> closedresolution: fixedmessages: +
2007-09-18 14:39:07
jafo
set
priority: normalassignee: georg.brandl nosy: + georg.brandl
2007-09-16 19:26:39
loewis
set
keywords: + patch
2007-09-16 16:20:32
piro
set
files: + docstring_test.py messages: +
2007-09-16 16:07:42
piro
create