New issue 3094: sys.setrecursionlimit(int(10e8)) results in MemoryError since 7.2 release. https://bitbucket.org/pypy/pypy/issues/3094/syssetrecursionlimit-int-10e8-results-in
Chris Withers: The tests for the mock backport have started failing on pypy since this release, for both 2.7 and 3.6: [https://circleci.com/gh/testing-cabal/mock/3099](https://circleci.com/gh/testing-cabal/mock/3099) [https://circleci.com/gh/testing-cabal/mock/3093](https://circleci.com/gh/testing-cabal/mock/3093) ``` def test_copy(self): current = sys.getrecursionlimit() self.addCleanup(sys.setrecursionlimit, current) # can't use sys.maxint as this doesn't exist in Python 3 > sys.setrecursionlimit(int(10e8)) E MemoryError ``` What would be the recommended way to fix this? _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue