From d5426d67dabf751836b490475d1782f46a718c8a Mon Sep 17 00:00:00 2001 From: Burak Arslan Date: Wed, 11 Jan 2023 12:47:27 +0300 Subject: [PATCH] avoid size limit when converting between strings and integers ValueError: Exceeds the limit (4300) for integer string conversion; use sys.set_int_max_str_digits() to increase the limit --- spyne/test/interop/server/_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spyne/test/interop/server/_service.py b/spyne/test/interop/server/_service.py index 80a9ebb45..5db3e42b0 100644 --- a/spyne/test/interop/server/_service.py +++ b/spyne/test/interop/server/_service.py @@ -340,7 +340,7 @@ def complex_return(): @srpc(_returns=Integer) def huge_number(): - return 2**int(1e5) + return 2**int(1e4) @srpc(_returns=String) def long_string():