[Python-modules-commits] [python-odf] 83/118: Removed the recursion limit. 50 was too little anyway

Wolfgang Borgert debacle at moszumanska.debian.org
Fri Oct 3 21:27:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to reference refs/remotes/upstream/master
in repository python-odf.

commit 276381d17fd6e77fe90fb3abf8a0237e4b81992f
Author: Søren Roug <soren.roug at eea.europa.eu>
Date:   Thu Apr 22 07:28:00 2010 +0000

    Removed the recursion limit. 50 was too little anyway
---
 odf/opendocument.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/odf/opendocument.py b/odf/opendocument.py
index 6907602..f8e208d 100644
--- a/odf/opendocument.py
+++ b/odf/opendocument.py
@@ -41,7 +41,7 @@ IS_IMAGE = 1
 # We need at least Python 2.2
 assert sys.version_info[0]>=2 and sys.version_info[1] >= 2
 
-sys.setrecursionlimit=50
+#sys.setrecursionlimit(100)
 #The recursion limit is set conservative so mistakes like
 # s=content() s.addElement(s) won't eat up too much processor time.
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-odf.git



More information about the Python-modules-commits mailing list