1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
4
<link rel="STYLESHEET" href="modpython.css" type='text/css'>
5
<link rel="first" href="modpython.html" title='Mod_python Manual'>
6
<link rel='contents' href='contents.html' title="Contents">
7
<link rel='index' href='genindex.html' title='Index'>
8
<link rel='last' href='about.html' title='About this document...'>
9
<link rel='help' href='about.html' title='About this document...'>
10
<LINK REL="next" href="genindex.html">
11
<LINK REL="prev" HREF="node100.html">
12
<LINK REL="parent" HREF="modpython.html">
13
<LINK REL="next" href="genindex.html">
14
<meta name='aesop' content='information'>
15
<META NAME="description" CONTENT="D. Changes from Previous Major Version (2.x)">
16
<META NAME="keywords" CONTENT="modpython">
17
<META NAME="resource-type" CONTENT="document">
18
<META NAME="distribution" CONTENT="global">
19
<title>D. Changes from Previous Major Version (2.x)</title>
4
<link rel="STYLESHEET" href="modpython.css" type='text/css' />
5
<link rel="first" href="modpython.html" title='Mod_python Manual' />
6
<link rel='contents' href='contents.html' title="Contents" />
7
<link rel='index' href='genindex.html' title='Index' />
8
<link rel='last' href='about.html' title='About this document...' />
9
<link rel='help' href='about.html' title='About this document...' />
10
<link rel="next" href="app-changes-from-3.2.7.html" />
11
<link rel="prev" href="app-changes-from-3.2.10.html" />
12
<link rel="parent" href="modpython.html" />
13
<link rel="next" href="app-changes-from-3.2.7.html" />
14
<meta name='aesop' content='information' />
15
<title>B. Changes from Version (3.2.8)</title>
22
18
<DIV CLASS="navigation">
19
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
23
20
<table align="center" width="100%" cellpadding="0" cellspacing="2">
25
<td><a rel="prev" title="C. Changes from Version"
26
HREF="node100.html"><img src='previous.gif'
27
border='0' height='32' alt='Previous Page' width='32'></A></td>
28
<td><a rel="parent" title="Mod_python Manual"
29
HREF="modpython.html"><img src='up.gif'
30
border='0' height='32' alt='Up One Level' width='32'></A></td>
31
<td><a rel="next" title="Index"
32
href="genindex.html"><img src='next.gif'
33
border='0' height='32' alt='Next Page' width='32'></A></td>
22
<td class='online-navigation'><a rel="prev" title="A. Changes from Version"
23
href="app-changes-from-3.2.10.html"><img src='previous.png'
24
border='0' height='32' alt='Previous Page' width='32' /></A></td>
25
<td class='online-navigation'><a rel="parent" title="Mod_python Manual"
26
href="modpython.html"><img src='up.png'
27
border='0' height='32' alt='Up One Level' width='32' /></A></td>
28
<td class='online-navigation'><a rel="next" title="C. Changes from Version"
29
href="app-changes-from-3.2.7.html"><img src='next.png'
30
border='0' height='32' alt='Next Page' width='32' /></A></td>
34
31
<td align="center" width="100%">Mod_python Manual</td>
35
<td><a rel="contents" title="Table of Contents"
36
href="contents.html"><img src='contents.gif'
37
border='0' height='32' alt='Contents' width='32'></A></td>
38
<td><img src='blank.gif'
39
border='0' height='32' alt='' width='32'></td>
40
<td><a rel="index" title="Index"
41
href="genindex.html"><img src='index.gif'
42
border='0' height='32' alt='Index' width='32'></A></td>
32
<td class='online-navigation'><a rel="contents" title="Table of Contents"
33
href="contents.html"><img src='contents.png'
34
border='0' height='32' alt='Contents' width='32' /></A></td>
35
<td class='online-navigation'><img src='blank.png'
36
border='0' height='32' alt='' width='32' /></td>
37
<td class='online-navigation'><a rel="index" title="Index"
38
href="genindex.html"><img src='index.png'
39
border='0' height='32' alt='Index' width='32' /></A></td>
41
<div class='online-navigation'>
44
42
<b class="navlabel">Previous:</b>
45
<a class="sectref" rel="prev" HREF="node100.html">C. Changes from Version</A>
43
<a class="sectref" rel="prev" href="app-changes-from-3.2.10.html">A. Changes from Version</A>
46
44
<b class="navlabel">Up:</b>
47
<a class="sectref" rel="parent" HREF="modpython.html">Mod_python Manual</A>
45
<a class="sectref" rel="parent" href="modpython.html">Mod_python Manual</A>
48
46
<b class="navlabel">Next:</b>
49
<a class="sectref" rel="next" href="genindex.html">Index</A>
47
<a class="sectref" rel="next" href="app-changes-from-3.2.7.html">C. Changes from Version</A>
52
51
<!--End of Navigation Panel-->
54
<H1><A NAME="SECTION0012000000000000000000"> </A>
53
<H1><A NAME="SECTION0012000000000000000000"></A><A NAME="app-changes"></A>
56
D. Changes from Previous Major Version (2.x)
55
B. Changes from Version (3.2.8)
60
<a name="l2h-277"> </a>
64
<LI>Mod_python 3.0 no longer works with Apache 1.3, only Apache 2.x is
67
<LI>Mod_python no longer works with Python versions less than 2.2.1
69
<LI>Mod_python now supports Apache filters.
71
<LI>Mod_python now supports Apache connection handlers.
73
<LI>Request object supports internal_redirect().
75
<LI>Connection object has read(), readline() and write().
77
<LI>Server object has get_config().
79
<LI><a name="l2h-278"> </a>
80
Httpdapi handler has been deprecated.
82
<LI><a name="l2h-279"> </a>
83
Zpublisher handler has been deprecated.
85
<LI>Username is now in req.user instead of req.connection.user
59
<a id='l2h-298' xml:id='l2h-298'></a>
66
<LI>(<em class="citetitle"><a
67
href="http://issues.apache.org/jira/browse/MODPYTHON-78"
69
>MODPYTHON-78</a></em>)
70
Added support for Apache 2.2.
72
<LI>(<em class="citetitle"><a
73
href="http://issues.apache.org/jira/browse/MODPYTHON-94"
75
>MODPYTHON-94</a></em>)
76
New <code>req.is_https()</code> and <code>req.ssl_var_lookup()</code> methods.
77
These communicate direct with the Apache mod_ssl module, allowing
78
it to be determined if the connection is using SSL/TLS and what the
79
values of internal ssl variables are.
81
<LI>(<em class="citetitle"><a
82
href="http://issues.apache.org/jira/browse/MODPYTHON-131"
84
>MODPYTHON-131</a></em>)
85
The directory used for mutex locks can now be specified at
86
at compile time using <code>./configure --with-mutex-dir value</code>
87
or at run time with <code>PythonOption mod_python.mutex_directory value</code>.
89
<LI>(<em class="citetitle"><a
90
href="http://issues.apache.org/jira/browse/MODPYTHON-137"
92
>MODPYTHON-137</a></em>)
93
New <code>req.server.get_options()</code> method. This returns the subset
94
of Python options set at global scope within the Apache configuration.
95
That is, outside of the context of any VirtualHost, Location, Directory
98
<LI>(<em class="citetitle"><a
99
href="http://issues.apache.org/jira/browse/MODPYTHON-145"
100
title="MODPYTHON-145"
101
>MODPYTHON-145</a></em>)
102
The number of mutex locks can now be specified at run time with
103
<code>PythonOption mod_python.mutex_locks value</code>.
105
<LI>(<em class="citetitle"><a
106
href="http://issues.apache.org/jira/browse/MODPYTHON-172"
107
title="MODPYTHON-172"
108
>MODPYTHON-172</a></em>)
109
Fixed three memory leaks that were found in _apachemodule.parse_qsl, req.readlines
110
and util.cfgtree_walk.
121
<LI>(<em class="citetitle"><a
122
href="http://issues.apache.org/jira/browse/MODPYTHON-77"
124
>MODPYTHON-77</a></em>)
125
Third party C modules that use the simplified API for the Global
126
Interpreter Lock (GIL), as described in PEP 311, can now be used. The
127
only requirement is that such modules can only be used in the context
128
of the "<tt class="samp">main_interpreter</tt>".
130
<LI>(<em class="citetitle"><a
131
href="http://issues.apache.org/jira/browse/MODPYTHON-119"
132
title="MODPYTHON-119"
133
>MODPYTHON-119</a></em>)
134
DbmSession unit test no longer uses the default directory for the dbm file,
135
so the test will not interfer with the user's current apache instance.
137
<LI>(<em class="citetitle"><a
138
href="http://issues.apache.org/jira/browse/MODPYTHON-158"
139
title="MODPYTHON-158"
140
>MODPYTHON-158</a></em>)
141
Added additional debugging and logging output for where mod_python
142
cannot initialise itself properly due to Python or mod_python version
143
mismatches or missing Python module code files.
154
<LI>(<em class="citetitle"><a
155
href="http://issues.apache.org/jira/browse/MODPYTHON-84"
157
>MODPYTHON-84</a></em>)
158
Fixed request.sendfile() bug for symlinked files on Win32.
160
<LI>(<em class="citetitle"><a
161
href="http://issues.apache.org/jira/browse/MODPYTHON-122"
162
title="MODPYTHON-122"
163
>MODPYTHON-122</a></em>)
164
Fixed configure problem when using bash 3.1.x.
166
<LI>(<em class="citetitle"><a
167
href="http://issues.apache.org/jira/browse/MODPYTHON-173"
168
title="MODPYTHON-173"
169
>MODPYTHON-173</a></em>)
170
Fixed DbmSession to create db file with mode 0640.
92
177
<DIV CLASS="navigation">
178
<div class='online-navigation'>
94
180
<table align="center" width="100%" cellpadding="0" cellspacing="2">
96
<td><a rel="prev" title="C. Changes from Version"
97
rel="prev" title="C. Changes from Version"
98
HREF="node100.html"><img src='previous.gif'
99
border='0' height='32' alt='Previous Page' width='32'></A></td>
100
<td><a rel="parent" title="Mod_python Manual"
101
rel="parent" title="Mod_python Manual"
102
HREF="modpython.html"><img src='up.gif'
103
border='0' height='32' alt='Up One Level' width='32'></A></td>
104
<td><a rel="next" title="Index"
105
rel="next" title="Index"
106
href="genindex.html"><img src='next.gif'
107
border='0' height='32' alt='Next Page' width='32'></A></td>
182
<td class='online-navigation'><a rel="prev" title="A. Changes from Version"
183
href="app-changes-from-3.2.10.html"><img src='previous.png'
184
border='0' height='32' alt='Previous Page' width='32' /></A></td>
185
<td class='online-navigation'><a rel="parent" title="Mod_python Manual"
186
href="modpython.html"><img src='up.png'
187
border='0' height='32' alt='Up One Level' width='32' /></A></td>
188
<td class='online-navigation'><a rel="next" title="C. Changes from Version"
189
href="app-changes-from-3.2.7.html"><img src='next.png'
190
border='0' height='32' alt='Next Page' width='32' /></A></td>
108
191
<td align="center" width="100%">Mod_python Manual</td>
109
<td><a rel="contents" title="Table of Contents"
110
rel="contents" title="Table of Contents"
111
href="contents.html"><img src='contents.gif'
112
border='0' height='32' alt='Contents' width='32'></A></td>
113
<td><img src='blank.gif'
114
border='0' height='32' alt='' width='32'></td>
115
<td><a rel="index" title="Index"
116
rel="index" title="Index"
117
href="genindex.html"><img src='index.gif'
118
border='0' height='32' alt='Index' width='32'></A></td>
192
<td class='online-navigation'><a rel="contents" title="Table of Contents"
193
href="contents.html"><img src='contents.png'
194
border='0' height='32' alt='Contents' width='32' /></A></td>
195
<td class='online-navigation'><img src='blank.png'
196
border='0' height='32' alt='' width='32' /></td>
197
<td class='online-navigation'><a rel="index" title="Index"
198
href="genindex.html"><img src='index.png'
199
border='0' height='32' alt='Index' width='32' /></A></td>
201
<div class='online-navigation'>
120
202
<b class="navlabel">Previous:</b>
121
<a class="sectref" rel="prev" HREF="node100.html">C. Changes from Version</A>
203
<a class="sectref" rel="prev" href="app-changes-from-3.2.10.html">A. Changes from Version</A>
122
204
<b class="navlabel">Up:</b>
123
<a class="sectref" rel="parent" HREF="modpython.html">Mod_python Manual</A>
205
<a class="sectref" rel="parent" href="modpython.html">Mod_python Manual</A>
124
206
<b class="navlabel">Next:</b>
125
<a class="sectref" rel="next" href="genindex.html">Index</A>
127
<span class="release-info">Release 3.2.10, documentation updated on July 19, 2006.</span>
207
<a class="sectref" rel="next" href="app-changes-from-3.2.7.html">C. Changes from Version</A>
211
<span class="release-info">Release 3.3.1, documentation updated on January 29, 2007.</span>
129
213
<!--End of Navigation Panel-->