Edgewall Software
Modify

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 to On.

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 anonymous, 20 years ago

Version: 0.8devel

comment:2 by Christopher Lenz, 20 years ago

Milestone: 0.9
Status: newassigned

Heh, weird stuff.

Now where should we document this? In the module docstring for MacroList? ;-) (Just kidding)

comment:3 by anonymous, 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 anonymous, 19 years ago

The MacroList macro has been moved here in the trunk: source:trunk/trac/wiki/macros.py#latest.

comment:5 by Christopher Lenz, 19 years ago

Resolution: fixed
Status: assignedclosed

Documented in [2338] and also on the WikiMacros page.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.