On 17-nov-2005, at 3:15, Travis Oliphant wrote: > Jim Jewett wrote: > >> > >> (2) Is he allocating new _types_, which I think don't get properly >> >> collected. >> >> > > Bingo. Yes, definitely allocating new _types_ (an awful lot of > them...) > --- that's what the "array scalars" are: new types created in C.
Do you really mean that someArray[1] will create a new type to represent the second element of someArray? I would guess that you create an instance of a type defined in your extension. Ronald _______________________________________________ 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