[Zope-Perl] Python void context

Gisle Aas gisle@ActiveState.com
26 May 2000 17:22:01 +0200


Chris McDonough <chrism@digicool.com> writes:

> > 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...

That was what I expected.  Not a big deal I guess.

--Gisle