On 05/11/2006, at 7:32 AM, Jim Gallacher wrote:

I was fixing a error in the new mp_conn.log_error method and I noticed that the connobject struct has a PyObject *server element. There is no corresponding apache conn_rec->server attribute, I don't see it being used anywhere in our code, and it is undocumented in mp_conn members.

See src/connobject.c line 49 and src/include/connobject.h line 44 and http://www.modpython.org/live/current/doc-html/pyapi-mpconn- mem.html

Does anyone know why it exists? It this some vestige from any earlier age that can be deleted?

Looks safe to delete, not ever set to anything and not even accessible
from the Python side anyway.

Graham

Reply via email to