On Thu, 09 Jan 2014, Daniel Black wrote:
>  > -                                          value = value[0:m.start()] + tags[found_tag] + value[m.end():]
>  > +                                          value = value.replace('<%s>' % found_tag , tags[found_tag])

>    thinking a bit more there may be some other failure causes along this line
>    where the second param is contained within another def. Time for more test
>    cases.

yeah... I had a feeling that current recursion detection look a bit
"incomplete", but could not see exactly how, thus kept quiet ;)

-- 
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Senior Research Associate,     Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik