[issue1430436] recursive __getattr__ in thread crashes

Brett Cannon report at bugs.python.org
Thu Nov 15 21:44:40 CET 2007


Brett Cannon added the comment:

And under 2.6 on OS X.  I doubt this is a BSD thing but more of a
recursion depth issue.

And I don't think there is anything to fix here.  The recursion depth is
a per-thread thing, and this test is blowing the C stack before the
recursion depth is reached.  If you drop the recursion limit lower the
proper exception is raised (I had to drop mine down to 400 to trigger
the exception).

So this is not a Python issue, per-se, just a limitation of the C stack
and how things are implemented.  While we do everything we can to
prevent crashes, this just can't be helped as the C stack is not under
our control.

Closing as invalid.

----------
nosy: +brett.cannon
resolution:  -> invalid
status: open -> closed
title: recursive __getattr__ in thread crashes BSDs -> recursive __getattr__ in thread crashes
versions: +Python 2.6

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1430436>
_____________________________________


More information about the Python-bugs-list mailing list