Antoine Pitrou <pit...@free.fr> added the comment: The fact it fails only the second time is by design, although I'm not sure the design is useful, and it's probably not documented anywhere. The error message says it : "Cannot *recover* from stack overflow", which means there was a first stack overflow, and Python thinks it has failed recovering from it since a second stack overflow occurred afterwards.
We could probably make the recovery detection smarter. _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5392> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com