A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-August/009030.html below:

[Python-Dev] stack check on Unix: any suggestions?

[Python-Dev] stack check on Unix: any suggestions? [Python-Dev] stack check on Unix: any suggestions?Mark Favas m.favas@per.dem.csiro.au
Fri, 01 Sep 2000 04:32:52 +0800
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)

On my DEC/Compaq/OSF1/Tru64 Unix box with the default stacksize of 2048k
I get 6225 iterations before seg faulting...
-- 
Mark



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4