From c5b64c8933f586a9e8c85fb20dd04ed91e703789 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Wed, 13 Jan 2016 15:51:28 +0100 Subject: [PATCH] [cli-reference] increase maximum depth of the Python interpreter stack Change-Id: Ibd30ce6e59eff76a85b3506cf141c617a5e3c32b --- doc/cli-ref-rst/source/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/cli-ref-rst/source/conf.py b/doc/cli-ref-rst/source/conf.py index 79936b83bd..5f5c72c246 100644 --- a/doc/cli-ref-rst/source/conf.py +++ b/doc/cli-ref-rst/source/conf.py @@ -25,6 +25,10 @@ import sys sys.path.append(os.path.dirname(__file__)) +# Increase the maximum depth of the Python interpreter stack to solve the +# "RuntimeError: maximum recursion depth exceeded in cmp" issue. +sys.setrecursionlimit(4000) + import openstackdocstheme # If extensions (or modules to document with autodoc) are in another directory,