#2468: Ticket description causing "maximum recursion limit exceeded" in File
"/usr/lib/python2.3/sre.py", line 143
--------------------------------------+-------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: cboos
Type: defect | Status: assigned
Priority: high | Milestone: 0.9.3
Component: timeline | Version: 0.9.2
Severity: normal | Resolution:
Keywords: |
--------------------------------------+-------------------------------------
Comment (by cboos):
Ah! I know. It's due to some buggy code of mine.
In the `Formatter._lhref_formatter`:
{{{
if target and target[0] in ("'",'"'):
target = target[1:-1]
}}}
should be:
{{{
if target and target[0] in ("'",'"') and target[0] == target[-1]:
target = target[1:-1]
}}}
Sorry for the off-topic noise, I'll add the fix plus a new test case
shortly.
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2468>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets