<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <link rel="STYLESHEET" href="modpython.css" type='text/css' /> <link rel="first" href="modpython.html" title='Mod_python Manual' /> <link rel='contents' href='contents.html' title="Contents" /> <link rel='index' href='genindex.html' title='Index' /> <link rel='last' href='about.html' title='About this document...' /> <link rel='help' href='about.html' title='About this document...' /> <link rel="next" href="app-changes-from-2.x.html" /> <link rel="prev" href="app-changes-from-3.2.7.html" /> <link rel="parent" href="modpython.html" /> <link rel="next" href="app-changes-from-2.x.html" /> <meta name='aesop' content='information' /> <title>D. Changes from Version (3.1.4)</title> </head> <body> <DIV CLASS="navigation"> <div id='top-navigation-panel' xml:id='top-navigation-panel'> <table align="center" width="100%" cellpadding="0" cellspacing="2"> <tr> <td class='online-navigation'><a rel="prev" title="C. Changes from Version" href="app-changes-from-3.2.7.html"><img src='previous.png' border='0' height='32' alt='Previous Page' width='32' /></A></td> <td class='online-navigation'><a rel="parent" title="Mod_python Manual" href="modpython.html"><img src='up.png' border='0' height='32' alt='Up One Level' width='32' /></A></td> <td class='online-navigation'><a rel="next" title="E. Changes from Previous" href="app-changes-from-2.x.html"><img src='next.png' border='0' height='32' alt='Next Page' width='32' /></A></td> <td align="center" width="100%">Mod_python Manual</td> <td class='online-navigation'><a rel="contents" title="Table of Contents" href="contents.html"><img src='contents.png' border='0' height='32' alt='Contents' width='32' /></A></td> <td class='online-navigation'><img src='blank.png' border='0' height='32' alt='' width='32' /></td> <td class='online-navigation'><a rel="index" title="Index" href="genindex.html"><img src='index.png' border='0' height='32' alt='Index' width='32' /></A></td> </tr></table> <div class='online-navigation'> <b class="navlabel">Previous:</b> <a class="sectref" rel="prev" href="app-changes-from-3.2.7.html">C. Changes from Version</A> <b class="navlabel">Up:</b> <a class="sectref" rel="parent" href="modpython.html">Mod_python Manual</A> <b class="navlabel">Next:</b> <a class="sectref" rel="next" href="app-changes-from-2.x.html">E. Changes from Previous</A> </div> <hr /></div> </DIV> <!--End of Navigation Panel--> <H1><A NAME="SECTION0014000000000000000000"></A><A NAME="app-changes-from-3.1.4"></A> <BR> D. Changes from Version (3.1.4) </H1> <P> <a id='l2h-300' xml:id='l2h-300'></a> <P> New Features <P> <UL> <LI>New <code>apache.register_cleanup()</code> method. </LI> <LI>New <code>apache.exists_config_define()</code> method. </LI> <LI>New file-based session manager class. </LI> <LI>Session cookie name can be specified. </LI> <LI>The maximum number of mutexes mod_python uses for session locking can now be specifed at compile time using <code>configure --with-max-locks</code>. </LI> <LI>New a version attribute in mod_python module. </LI> <LI>New test handler <code>testhandler.py</code> has been added. </LI> </UL> <P> Improvements <P> <UL> <LI>Autoreload of a module using <code>apache.import_module()</code> now works if modification time for the module is different from the file. Previously, the module was only reloaded if the the modification time of the file was more recent. This allows for a more graceful reload if a file with an older modification time needs to be restored from backup. </LI> <LI>Fixed the publisher traversal security issue </LI> <LI>Objects hierarchy a la CherryPy can now be published. </LI> <LI><code>mod_python.c</code> now logs reason for a 500 error </LI> <LI>Calls to <code>PyErr_Print</code> in <code>mod_python.c</code> are now followed by <code>fflush()</code> </LI> <LI>Using an empty value with PythonOption will unset a PythonOption key. </LI> <LI><code>req.path_info</code> is now a read/write member. </LI> <LI>Improvements to FieldStorage allow uploading of large files. Uploaded files are now streamed to disk, not to memory. </LI> <LI>Path to flex is now discovered at configuration time or can be specifed using <code>configure --with-flex=/path/to/flex</code>. </LI> <LI><code>sys.argv</code> is now initialized to <code>["mod_python"]</code> so that modules like numarray and pychart can work properly. </LI> </UL> <P> Bug Fixes <P> <UL> <LI>Fixed memory leak which resulted from circular references starting from the request object. </LI> <LI>Fixed memory leak resulting from multiple PythonOption directives. </LI> <LI>Fixed Multiple/redundant interpreter creation problem. </LI> <LI>Cookie attributes with attribute names prefixed with $ are now ignored. See Section <A href="pyapi-cookie.html#pyapi-cookie">4.7</A> for more information. </LI> <LI>Bug in setting up of config_dir from Handler directives fixed. </LI> <LI>mod_python.publisher will now support modules with the same name but in different directories </LI> <LI>Fixed continual reloading of modules problem </LI> <LI>Fixed big marshalled cookies error. </LI> <LI>Fixed mod_python.publisher extension handling </LI> <LI>mod_python.publisher default index file traversal </LI> <LI>mod_python.publisher loading wrong module and giving no warning/error </LI> <LI><code>apply_fs_data()</code> now works with "new style" objects </LI> <LI>File descriptor fd closed after <code>ap_send_fd()</code> in <code>req_sendfile()</code> </LI> <LI>Bug in mem_cleanup in MemorySession fixed. </LI> <LI>Fixed bug in <code>_apache._global_lock()</code> which could cause a segfault if the lock index parameter is greater number of mutexes created at mod_python startup. </LI> <LI>Fixed bug where <code>local_ip</code> and <code>local_host</code> in connection object were returning <code>remote_ip</code> and <code>remote_host</code> instead </LI> <LI>Fixed install_dso Makefile rule so it only installs the dso, not the python files </LI> <LI>Potential deadlock in psp cache handling fixed </LI> <LI>Fixed bug where sessions are used outside <Directory> directive. </LI> <LI>Fixed compile problem on IRIX. <code>ln -s</code> requires both TARGET and LINK_NAME on IRIX. ie. <code>ln -s TARGET LINK_NAME</code> </LI> <LI>Fixed <code>./configure</code> problem on SuSE Linux 9.2 (x86-64). Python libraries are in lib64/ for this platform. </LI> <LI>Fixed <code>req.sendfile()</code> problem where <code>sendfile(filename)</code> sends the incorrect number of bytes when filename is a symlink. </LI> <LI>Fixed problem where util.FieldStorage was not correctly checking the mime types of POSTed entities </LI> <LI>Fixed <code>conn.local_addr</code> and <code>conn.remote_addr</code> for a better IPv6 support. </LI> <LI>Fixed <code>psp_parser.l</code> to properly escape <code>backslash-n</code>, <code>backslash-t</code> and <code>backslash-r</code> character sequences. </LI> <LI>Fixed segfault bug when accessing some request object members (allowed_methods, allowed_xmethods, content_languages) and some server object members (names, wild_names). </LI> <LI>Fixed request.add_handler() segfault bug when adding a handler to an empty handler list. </LI> <LI>Fixed PythonAutoReload directive so that AutoReload can be turned off. </LI> <LI>Fixed connection object read() bug on FreeBSD. </LI> <LI>Fixed potential buffer corruption bug in connection object read(). </LI> </UL> <P> <DIV CLASS="navigation"> <div class='online-navigation'> <p></p><hr /> <table align="center" width="100%" cellpadding="0" cellspacing="2"> <tr> <td class='online-navigation'><a rel="prev" title="C. Changes from Version" href="app-changes-from-3.2.7.html"><img src='previous.png' border='0' height='32' alt='Previous Page' width='32' /></A></td> <td class='online-navigation'><a rel="parent" title="Mod_python Manual" href="modpython.html"><img src='up.png' border='0' height='32' alt='Up One Level' width='32' /></A></td> <td class='online-navigation'><a rel="next" title="E. Changes from Previous" href="app-changes-from-2.x.html"><img src='next.png' border='0' height='32' alt='Next Page' width='32' /></A></td> <td align="center" width="100%">Mod_python Manual</td> <td class='online-navigation'><a rel="contents" title="Table of Contents" href="contents.html"><img src='contents.png' border='0' height='32' alt='Contents' width='32' /></A></td> <td class='online-navigation'><img src='blank.png' border='0' height='32' alt='' width='32' /></td> <td class='online-navigation'><a rel="index" title="Index" href="genindex.html"><img src='index.png' border='0' height='32' alt='Index' width='32' /></A></td> </tr></table> <div class='online-navigation'> <b class="navlabel">Previous:</b> <a class="sectref" rel="prev" href="app-changes-from-3.2.7.html">C. Changes from Version</A> <b class="navlabel">Up:</b> <a class="sectref" rel="parent" href="modpython.html">Mod_python Manual</A> <b class="navlabel">Next:</b> <a class="sectref" rel="next" href="app-changes-from-2.x.html">E. Changes from Previous</A> </div> </div> <hr /> <span class="release-info">Release 3.3.1, documentation updated on January 29, 2007.</span> </DIV> <!--End of Navigation Panel--> </BODY> </HTML>