Travis Oliphant wrote:

> Bingo.  Yes, definitely allocating new _types_ (an awful lot of them...)
> --- that's what the "array scalars" are: new types created in C.

are you allocating PyTypeObject structures dynamically?

why are you creating an awful lot of new type objects to represent the
contents of a homogenous array?

> If they don't get properly collected then that would definitely have
> created the problem.  It would seem this should be advertised when
> telling people to use PyObject_New for allocating new memory for
> an object.

PyObject_New creates a new instance of a given type; it doesn't, in itself,
create a new type.

at this point, your description doesn't make much sense.  more information
is definitely needed...

</F> 



_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to