From 0d53259f5d0f80c89c496b35533d533b6b33592b Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Wed, 10 Oct 2018 13:52:56 +0100 Subject: [PATCH] Fixed Python <3.5 issue import RecursionError --- holoviews/core/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/holoviews/core/util.py b/holoviews/core/util.py index 8a5098556a..eccebc4d89 100644 --- a/holoviews/core/util.py +++ b/holoviews/core/util.py @@ -232,7 +232,7 @@ def deephash(obj): unicode = str long = int generator_types = (zip, range, types.GeneratorType) - RecursionError = RecursionError # noqa + RecursionError = RecursionError if sys.version_info.minor > 4 else RuntimeError # noqa else: basestring = basestring unicode = unicode