[Python-checkins] python/nondist/sandbox/parrotbench t.py,1.1,1.2

gvanrossum at users.sourceforge.net gvanrossum at users.sourceforge.net
Wed Dec 31 16:51:50 EST 2003


Update of /cvsroot/python/python/nondist/sandbox/parrotbench
In directory sc8-pr-cvs1:/tmp/cvs-serv6073
Modified Files:
	t.py 
Log Message:
Simply set the recursion limit to 1001, since that's what we want.
Index: t.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/parrotbench/t.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** t.py	31 Dec 2003 18:13:04 -0000	1.1
--- t.py	31 Dec 2003 21:51:48 -0000	1.2
***************
*** 1,4 ****
 import sys
! sys.setrecursionlimit(1 + sys.getrecursionlimit())
 import time
 t0 = time.clock()
--- 1,4 ----
 import sys
! sys.setrecursionlimit(1001)
 import time
 t0 = time.clock()


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /