[py-dev] Why: "RuntimeError: maximum recursion depth exceeded"
Jesus Cea
jcea at argo.es
Sat Mar 10 20:02:41 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I got it!. The issue is all the "parent" links for each greenlet. I need
to change "parent" by hand or use a trampoline to switch greenlets.
What I don't understand now is whey calling directly another greenlet
increase the recursion level, but calling the parent doesn't. More on
it, no cycles are created :-?.
How is the "parent" update logic when switching to an upstack greenlet?.
I can't find this info in the documentation.
Thanks in advance.
Jesus Cea wrote:
> I'm a new but happy "greenlets" user since a couple of hours ago :-),
> but I have found a problem with stack limit. Since greenlet's "switch()"
> stores the stack aside, I don't understand the problem.
- --
Jesus Cea Avion _/_/ _/_/_/ _/_/_/
jcea at argo.es http://www.argo.es/~jcea/ _/_/ _/_/ _/_/ _/_/ _/_/
jabber / xmpp:jcea at jabber.org _/_/ _/_/ _/_/_/_/_/
_/_/ _/_/ _/_/ _/_/ _/_/
"Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/
"My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQCVAwUBRfMA0Jlgi5GaxT1NAQJHwwP/diieEJKPHYCCPaJXjm2RihkyrJNnRv9h
nJRKR42zHqG9TQFBnAzDesSiutZAWuaWKmn3Kh+nyuAMVGChOoOpfCr/W6BNZ5nv
uLaNVbEsm5ThcXtde5b1WllYSzH28uxeu7cOPah8E397+hd4XdLE8tLWdn1tWcQv
Q1adXl2kVHM=
=6LFC
-----END PGP SIGNATURE-----
More information about the py-dev
mailing list