This does in fact work, but now I get "Fatal Python error: PyThreadState_Get: no current thread" when the module unloads. David Abrahams wrote: > // wrap this instead. > object getNullA() > { > static object nullA(ref(B::getNullA())); > return nullA; > } > > HTH, -- Gavin Doughtie DreamWorks SKG (818) 695-3821