[mod_python] Setting PythonOption to an empty string.

Gregory (Grisha) Trubetskoy grisha at modpython.org
Tue Oct 5 23:57:33 EDT 2004



On Tue, 5 Oct 2004, Graham Dumpleton wrote:

> The problem now is that once a parent sets a value using PythonOption, the
> only thing one can do in a subdirectory is to override it with some other non
> empty value. This is because the following results in a internal server error.
>
>  PythonOption NAME ""
>

This looks like a bug to me and I added it to the (growing) TODO list.

The only thing I can think of as a workaround is to use some special 
non-blank value which your code would treat as a no-value.

Thanks for reporting this,

Grisha


More information about the Mod_python mailing list