Message8883

Author zyasoft
Recipients Arfrever, JJ, dahlia, fwierzbicki, griels, pjac, tuska, zart, zyasoft
Date 2014-07-17.16:58:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405616296.34.0.174548003953.issue1891@psf.upfronthosting.co.za>
In-reply-to
Content
This is a duplicate of #527524

For the specific case of Pygments, Jython 2.7 trunk now compiles this just fine. This is almost certainly because of a fix made some months ago to support large collection literals, which is the usual reason for such large methods (http://hg.python.org/jython/rev/845d319f5b89)

I ran nosetests and we are seeing 3 failing tests out of 1130, due to regex issues:

======================================================================
ERROR: test_examplefiles.test_example_files(<pygments.lexers.RagelCppLexer>, '/Users/jbaker/opensource/pygments-main/tests/examplefiles/ragel-cpp_rlscan', '/Users/jbaker/opensource/pygments-main/tests/examplefiles/output/ragel-cpp_rlscan')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jbaker/jythondev/jython27/dist/Lib/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/jbaker/opensource/pygments-main/tests/test_examplefiles.py", line 78, in check_lexer
    for type, val in lx.get_tokens(text):
  File "/Users/jbaker/jythondev/jython27/dist/Lib/site-packages/Pygments-2.0predev_20140717-py2.7.egg/pygments/lexer.py", line 188, in streamer
    for i, t, v in self.get_tokens_unprocessed(text):
  File "/Users/jbaker/jythondev/jython27/dist/Lib/site-packages/Pygments-2.0predev_20140717-py2.7.egg/pygments/lexer.py", line 226, in get_tokens_unprocessed
    for i, t, v in self.language_lexer.get_tokens_unprocessed(text):
  File "/Users/jbaker/jythondev/jython27/dist/Lib/site-packages/Pygments-2.0predev_20140717-py2.7.egg/pygments/lexer.py", line 597, in get_tokens_unprocessed
    m = rexmatch(text, pos)
RuntimeError: maximum recursion depth exceeded (Java StackOverflowError)

----------------------------------------------------------------------
Ran 1130 tests in 51.004s

FAILED (errors=3)

But this is a separate issue in our implementation of sre.
History
Date User Action Args
2014-07-17 16:58:16zyasoftsetmessageid: <1405616296.34.0.174548003953.issue1891@psf.upfronthosting.co.za>
2014-07-17 16:58:16zyasoftsetrecipients: + zyasoft, fwierzbicki, tuska, pjac, Arfrever, dahlia, zart, JJ, griels
2014-07-17 16:58:16zyasoftlinkissue1891 messages
2014-07-17 16:58:15zyasoftcreate