[Python-Dev] stack check on Unix: any suggestions?
Greg Stein
gstein@lyra.org
Thu, 31 Aug 2000 05:48:04 -0700
On Thu, Aug 31, 2000 at 02:33:28PM +0200, M.-A. Lemburg wrote:
>...
> At least for my Linux installation a limit of 9000 seems
> reasonable. Perhaps everybody on the list could do a quick
> check on their platform ?
>
> Here's a sample script:
>
> i = 0
> def foo(x):
> global i
> print i
> i = i + 1
> foo(x)
>
> foo(None)
10k iterations on my linux box
-g
--
Greg Stein, http://www.lyra.org/