Opened 20 years ago
Closed 19 years ago
#1044 closed enhancement (fixed)
MacroList doesn't show docstrings when PythonOptimize is On
Reported by: | Juanma Barranquero | Owned by: | Christopher Lenz |
---|---|---|---|
Priority: | lowest | Milestone: | 0.9 |
Component: | web frontend/mod_python | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The new MacroList macro introduced in [1112] does not show the docstrings for WikiMacros when:
- Trac is set up to use ModPython, and
- the
PythonOptimize
Apache directive is set toOn
.
Aparently, PythonOptimize
is doing the equivalent to python -OO
, instead of python -O
as the doc for ModPython 3.1 says.
Arguably this is a ModPython bug and not cleanly solvable from Trac, but perhaps the problem should be documented (I've spent more than a few minutes trying to discover what the %&*@''' whas happening…)
Attachments (0)
Change History (5)
comment:1 by , 20 years ago
Version: | 0.8 → devel |
---|
comment:2 by , 20 years ago
Milestone: | → 0.9 |
---|---|
Status: | new → assigned |
comment:3 by , 19 years ago
why has the Source of MacroList vanished from trunk/ ? also it's not part of the 0.8..4 debian Package as far as I can tell. It works quite nice in my eyes, received from: http://projects.edgewall.com/trac/file/trunk/trac/wikimacros/MacroList.py?rev=1112
So, what could be wrong with using that?/whs is it not part of trunk anymore?
Thx, Peter
comment:4 by , 19 years ago
The MacroList macro has been moved here in the trunk: source:trunk/trac/wiki/macros.py#latest.
comment:5 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Documented in [2338] and also on the WikiMacros page.
Heh, weird stuff.
Now where should we document this? In the module docstring for MacroList? ;-) (Just kidding)