Alexandre Vassalotti wrote: > But what if PyType_GenericAlloc is used for tp_alloc? As far as I > know, the memory block allocated with PyType_GenericAlloc is zeroed. Oh, you are right. The generic allocator uses memset to initialize the block with \0. Christian