the shedskin versions of the python builtins (as well as generated classes) inherit from the 'gc' class. the STL classes which shedskin uses to implement several builtins are used in combination with the 'gc_allocator' allocator. in some places we also use GC_MALLOC and GC_MALLOC_ATOMIC.
so everything is garbage collected through the boehm gc at the moment, except for scalars of course. we don't use smart pointers/reference counting, escape analysis or anything (though I'd be very interested if someone would like to work on the latter).
thanks,
mark.