#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 mgood):
cboos: also since `"in"` works on any iterable, you can use a string like
so:
{{{
#!python
target[0] in "'\""
}}}
which I kind of like, although I don't know if other people find it
confusing.
I also just noticed a kind of rare boundary condition where target is
''only'' one of the quote characters. In that case the link text will end
up empty, though I think if people really want to do that, they can
enclose the quote in other quotes.
--
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