[mod_python] some bug fixes and new features in CVS

Gregory Trubetskoy grisha at modpython.org
Thu Aug 10 09:38:46 EST 2000


Just FYI - 

I've checked in to the CVS server on sourceforge the version of mod_python
that has a number of new features, fixes and improvements. Some changes
were quite radical which is why I don't want to put it out as a release
just yet.

There are instructions on how to retrieve code from CVS on 
http://sourceforge.net/cvs/?group_id=7107

Some of the most significant changes are:

o New PythonEnablePdb directive that allows handlers to be executed
  within pdb (Python debugger).

o Proper finalization - Py_Finalize() C API function is called with a
  child proces exits, thus making sure all objects are destroyed properly.

o Dynamic handler registration. Now you can add handlers from within
  handlers. Extremely useful if you want, for example, to write an
  authentication handler that decides based on the userid which handler
  will handle the request.

o There is now a way to have multiple keys in a table via the
  add() function. Having multiple keys is critical to being able
  to set multiple cookies, as someone pointed out on this list.

o mod_python.c should compile with the -ansi option without warnings.


--
  Gregory (Grisha) Trubetskoy
       grisha at modpython.org




More information about the Mod_python mailing list