mod_python works as standalone, does not as service (Windows XP)

2005-10-02 Thread Tau
My mod_python 3.1.4 installation works when Apache 2.0.54 is run in
standalone mode (apache -k standalone) but refuses to operate when run
as a service (apache -k restart).

Logs yield the usual and well-known "make_obcallback: could not import
mod_python.apache" error. I have tried PYTHONHOME, LoadFile
python24.dll (2.4.2) with no result.

I have read *all* threads about make_obcallback that google found.
What's even weirder I had this module working yesterday but had to make
apache cleanup (fresh installation) and now this is completely stuck. I
remember that last time I just had to reinstall Apache over existing
mod_python files to get it working but this time it just pointless.

I thank everyone who understand differences between standalone and
service modes of Apache better than I do.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Question on class member in python

2005-10-17 Thread Tau
Get answer by typing:
id(a.member)==id(a.getMember())

You will often find id() useful when in doubt whether the two objects
are distinct.

-- 
http://mail.python.org/mailman/listinfo/python-list