Python 2.2 __slots__ Bug?
Jeff Epler
jepler at unpythonic.net
Wed Jun 26 14:25:02 EDT 2002
On Wed, Jun 26, 2002 at 11:18:39AM -0700, Erik Max Francis wrote:
> Glyph Lefkowitz wrote:
>
> > I get "I'm fine" and then a segmentation fault. This only happens
> > when
> > __slots__ is defined on a new-style class. Seriously, i'm not making
> > those
> > numbers up -- reliably, 43551 objects will crash the interpreter;
> > fewer will
> > not.
>
> Hmm, the script runs fine on my Slackware 8.0 system, even if I crank
> the number up to 100000.
When run in a thread, it dies on my redhat 7.3 machine. When not run in
a thread, it seems to succeed even for very large values.
Non-main threads are presumably started with a smaller stack..
Jeff
More information about the Python-list
mailing list