|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /var/www/manual/mod/mod_python/ |
Upload File : |
<!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.html">
<LINK REL="prev" HREF="node97.html">
<LINK REL="parent" HREF="modpython.html">
<LINK REL="next" href="app-changes.html">
<meta name='aesop' content='information'>
<META NAME="description" CONTENT="B. Changes from Version (3.1.4)">
<META NAME="keywords" CONTENT="modpython">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<title>B. Changes from Version (3.1.4)</title>
</head>
<body>
<DIV CLASS="navigation">
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td><a rel="prev" title="A. Changes from Version"
HREF="node97.html"><img src='previous.gif'
border='0' height='32' alt='Previous Page' width='32'></A></td>
<td><a rel="parent" title="Mod_python Manual"
HREF="modpython.html"><img src='up.gif'
border='0' height='32' alt='Up One Level' width='32'></A></td>
<td><a rel="next" title="C. Changes from Previous"
href="app-changes.html"><img src='next.gif'
border='0' height='32' alt='Next Page' width='32'></A></td>
<td align="center" width="100%">Mod_python Manual</td>
<td><a rel="contents" title="Table of Contents"
href="contents.html"><img src='contents.gif'
border='0' height='32' alt='Contents' width='32'></A></td>
<td><img src='blank.gif'
border='0' height='32' alt='' width='32'></td>
<td><a rel="index" title="Index"
href="genindex.html"><img src='index.gif'
border='0' height='32' alt='Index' width='32'></A></td>
</tr></table>
<b class="navlabel">Previous:</b>
<a class="sectref" rel="prev" HREF="node97.html">A. 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.html">C. Changes from Previous</A>
<br><hr>
</DIV>
<!--End of Navigation Panel-->
<H1><A NAME="SECTION0010000000000000000000"> </A>
<BR>
B. Changes from Version (3.1.4)
</H1>
<P>
<a name="l2h-268"> </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">
<p><hr>
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td><a rel="prev" title="A. Changes from Version"
rel="prev" title="A. Changes from Version"
HREF="node97.html"><img src='previous.gif'
border='0' height='32' alt='Previous Page' width='32'></A></td>
<td><a rel="parent" title="Mod_python Manual"
rel="parent" title="Mod_python Manual"
HREF="modpython.html"><img src='up.gif'
border='0' height='32' alt='Up One Level' width='32'></A></td>
<td><a rel="next" title="C. Changes from Previous"
rel="next" title="C. Changes from Previous"
href="app-changes.html"><img src='next.gif'
border='0' height='32' alt='Next Page' width='32'></A></td>
<td align="center" width="100%">Mod_python Manual</td>
<td><a rel="contents" title="Table of Contents"
rel="contents" title="Table of Contents"
href="contents.html"><img src='contents.gif'
border='0' height='32' alt='Contents' width='32'></A></td>
<td><img src='blank.gif'
border='0' height='32' alt='' width='32'></td>
<td><a rel="index" title="Index"
rel="index" title="Index"
href="genindex.html"><img src='index.gif'
border='0' height='32' alt='Index' width='32'></A></td>
</tr></table>
<b class="navlabel">Previous:</b>
<a class="sectref" rel="prev" HREF="node97.html">A. 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.html">C. Changes from Previous</A>
<hr>
<span class="release-info">Release 3.2.8, documentation updated on February 19, 2006.</span>
</DIV>
<!--End of Navigation Panel-->
</BODY>
</HTML>