[mod_python] An odd use of the publisher

Gregory (Grisha) Trubetskoy grisha at modpython.org
Sun Mar 14 17:50:27 EST 2004



On Sun, 14 Mar 2004, Colin Fox wrote:

> |>Ron Alford wrote:
> |>| How does a straight 'return' with no arguments work? I thought I was
> |>| using that at one point.
> |>
> |>It doesn't work
> |
> | Can you elaborate on the "doesn't work"? It's supposed to, at least on
> | version 3.1.x and may be even 3.0.x
> |
> | Grisha
>
> Perhaps I am just totally missing something, but if I have a
> mod_python.publisher handler called 'blah.py', with a function in it
> called 'index':

No, you're not missing anything, looking at the CVS, it appears that
return with no arguments would only work starting with mod_python 3.1.

Grisha


More information about the Mod_python mailing list