> 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)? AFAIK, no. The return value is just tossed. Python functions know little about their callers in general...