Edgewall Software
Modify

Ticket #1044 (closed enhancement: fixed)

Opened 7 years ago

Last modified 7 years ago

MacroList doesn't show docstrings when PythonOptimize is On

Reported by: Juanma Barranquero Owned by: cmlenz
Priority: lowest Milestone: 0.9
Component: web frontend/mod_python Version: devel
Severity: normal Keywords:
Cc:
Release Notes:
API 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

Change History

comment:1 Changed 7 years ago by anonymous

  • Version changed from 0.8 to devel

comment:2 Changed 7 years ago by cmlenz

  • Milestone set to 0.9
  • Status changed from new to assigned

Heh, weird stuff.

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

comment:3 Changed 7 years ago by anonymous

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 Changed 7 years ago by anonymous

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

comment:5 Changed 7 years ago by cmlenz

  • Resolution set to fixed
  • Status changed from assigned to closed

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from cmlenz. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.