[mod_python] mod_python 3.1.3: PythonHandlerModule

Gregory (Grisha) Trubetskoy grisha at modpython.org
Fri May 21 16:04:52 EDT 2004


I think this is a bug.

In apache.py, around line 96:

            # find the object
            object = resolve_object(module, object_str,
                                    arg=conn, silent=0)

make that
            # find the object
            object = resolve_object(module, object_str,
                                    arg=conn, silent=conn.hlist.silent)

and let me know if it fixes it, then we'll add it into the CVS for next
version.

Thanks,

Grisha


On Fri, 21 May 2004, Nick wrote:

> Hi all,
>
> Specifying PythonHandlerModule in the apache config causes mod_python to
> attempt to execute the connectionhandler, regardless of its existence.  This
> is very undesirable, since I don't want to ever have a connection handler
> but have multiple handlers in my module.
>
> Is this the intended behavior?  Listing the 4 handler directives I'll need
> individually is more error prone than having only 1 for my users.
>
> Thanks,
> Nick
>
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>


More information about the Mod_python mailing list