Message10486
Possibly related is the regex used by Bottle simple templates (https://github.com/bottlepy/bottle/blob/master/bottle.py#L3631):
Easy to reproduce:
$ jython -m pip install bottle
$ jython │Jython 2.7.1b2 (default:37578797caba, Nov 20 2015, 14:09:15) │[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_80 │Type "help", "copyright", "credits" or "license" for more information. │>>> from bottle import template │>>> template('<b>Hello {{name}}</b>!', name='Jython')
Traceback (most recent call last): │ File "<stdin>", line 1, in <module> │ File "/home/jbaker/jythondev/jython27/dist/Lib/site-packages/bottle.py", line 3609, in template │ return TEMPLATES[tplid].render(kwargs) │ File "/home/jbaker/jythondev/jython27/dist/Lib/site-packages/bottle.py", line 3399, in render │ self.execute(stdout, env) │ File "/home/jbaker/jythondev/jython27/dist/Lib/site-packages/bottle.py", line 3386, in execute │ eval(self.co, env) │ File "/home/jbaker/jythondev/jython27/dist/Lib/site-packages/bottle.py", line 189, in __get__ │ value = obj.__dict__[self.func.__name__] = self.func(obj) │ File "/home/jbaker/jythondev/jython27/dist/Lib/site-packages/bottle.py", line 3344, in co │ return compile(self.code, self.filename or '<string>', 'exec') │ File "/home/jbaker/jythondev/jython27/dist/Lib/site-packages/bottle.py", line 189, in __get__ │ value = obj.__dict__[self.func.__name__] = self.func(obj) │ File "/home/jbaker/jythondev/jython27/dist/Lib/site-packages/bottle.py", line 3358, in code │ code = parser.translate() │ File "/home/jbaker/jythondev/jython27/dist/Lib/site-packages/bottle.py", line 3487, in translate │ self.flush_text() │ File "/home/jbaker/jythondev/jython27/dist/Lib/site-packages/bottle.py", line 3542, in flush_text │ for m in self.re_inl.finditer(text): │RuntimeError: maximum recursion depth exceeded (Java StackOverflowError) |
|
Date |
User |
Action |
Args |
2015-11-20 21:44:05 | zyasoft | unlink | issue2431 messages |
2015-11-20 21:41:19 | zyasoft | set | messageid: <1448055679.19.0.543907047833.issue2431@psf.upfronthosting.co.za> |
2015-11-20 21:41:19 | zyasoft | set | recipients:
+ zyasoft, darjus |
2015-11-20 21:41:19 | zyasoft | link | issue2431 messages |
2015-11-20 21:41:17 | zyasoft | create | |
|