Is there a way for python functions to find out if they are called in void context (i.e. that the caller does not care about a return value)? In perl a function we can test defined(wantarray) to figure this out. The reason I ask is that I want to be able to propagate void context to perl functions called from python. Regards, Gisle