<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel">
    <title>gmane.comp.apache.mod-python.devel</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.mod-python.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4319"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4318"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4316"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4315"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4314"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4313"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4312"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4311"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4310"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4309"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4308"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4305"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4304"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4303"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4302"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4301"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4300"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4319">
    <title>Quetzalcoatl/mod_python retirement</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4319</link>
    <description>&lt;pre&gt;A heads up for the Quetzalcoalt + mod_python user community that the
Quetzalcoatl project has
been 'moved to the Attic'. This means that the Quetzalcoatl developers (more
formally its Project Management Committee) have voted to retire Quetzalcoatl
and move the responsibility for its oversight over to the Attic project.

Loosely speaking this means that the projects resources will be moved to a
read-only state.

You can read more about the Apache Attic and the process of moving to the
Attic at http://attic.apache.org.

You can follow this process in JIRA:

  https://issues.apache.org/jira/browse/ATTIC-67

Thanks,

Hen on behalf of Quetzalcoatl + the Attic.

&lt;/pre&gt;</description>
    <dc:creator>Henri Yandell</dc:creator>
    <dc:date>2010-07-17T06:48:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4318">
    <title>Created: (MODPYTHON-257) md5 module is deprecated; use hashlib instead</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4318</link>
    <description>&lt;pre&gt;md5 module is deprecated; use hashlib instead
---------------------------------------------

                 Key: MODPYTHON-257
                 URL: https://issues.apache.org/jira/browse/MODPYTHON-257
             Project: mod_python
          Issue Type: Bug
    Affects Versions: 3.3.1
         Environment: ubuntu linux / python 2.6
            Reporter: Forest


mod_python is spewing a lot of log spam:

[Thu May 27 15:08:00 2010] [error] /usr/lib/python2.6/dist-packages/mod_python/importer.py:32: DeprecationWarning: the md5 module is deprecated; use hashlib instead

&lt;/pre&gt;</description>
    <dc:creator>Forest (JIRA</dc:creator>
    <dc:date>2010-05-27T22:23:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4316">
    <title>Mod_python and unicode</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4316</link>
    <description>&lt;pre&gt;Would it make sense to switch mod_python to always use unicode, as it is now,
publisher supports unicode content, but req.write and FieldList does use
bytestrings.

/Anders

&lt;/pre&gt;</description>
    <dc:creator>Anders Blomdell</dc:creator>
    <dc:date>2010-03-05T08:59:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4315">
    <title>Re: Bizarre behaviour in util.FieldStorage</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4315</link>
    <description>&lt;pre&gt;
It likely was originally meant to mirror cgi.FieldStorage used for CGI
scripts and so carried across same level of functionality.

Graham


&lt;/pre&gt;</description>
    <dc:creator>Graham Dumpleton</dc:creator>
    <dc:date>2010-03-02T09:28:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4314">
    <title>Re: Bizarre behaviour in util.FieldStorage</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4314</link>
    <description>&lt;pre&gt;Done

If this is really the case, the interface is bloated :-)

The age of last version hinted that...

/Anders




&lt;/pre&gt;</description>
    <dc:creator>Anders Blomdell</dc:creator>
    <dc:date>2010-03-02T08:32:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4313">
    <title>Updated: (MODPYTHON-256) util.FieldStorage __setitem__/__delitem__ might affect wrong field</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4313</link>
    <description>&lt;pre&gt;
     [ https://issues.apache.org/jira/browse/MODPYTHON-256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anders Blomdell updated MODPYTHON-256:
--------------------------------------

    Attachment: modpython.patch

Add new method to delete a named field from FieldList and use it in __setitem__/__delitem__


&lt;/pre&gt;</description>
    <dc:creator>Anders Blomdell (JIRA</dc:creator>
    <dc:date>2010-03-02T08:29:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4312">
    <title>Created: (MODPYTHON-256) util.FieldStorage __setitem__/__delitem__ might affect wrong field</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4312</link>
    <description>&lt;pre&gt;util.FieldStorage __setitem__/__delitem__ might affect wrong field
------------------------------------------------------------------

                 Key: MODPYTHON-256
                 URL: https://issues.apache.org/jira/browse/MODPYTHON-256
             Project: mod_python
          Issue Type: Bug
          Components: core
    Affects Versions: 3.3.1
         Environment: Any
            Reporter: Anders Blomdell


When a FieldStorage has two (or more) Filed instances with the same value but
different names, the behaviour of programs like this is (more or less) undefined:

  fs = util.FieldStorage(req)
  fs['id1'] = 'New value'
  del fs['id2']

The reason for the undefinedness, is this code in __delitem__ (and the similar
in __setitem__):

        table = self.list.table()
        values = table[key]
        for value in values:
            self.list.remove(value)

What happens is that the self.list.remove(value) will remove the first field
with a matching value, regardless of that fields name. Here is&lt;/pre&gt;</description>
    <dc:creator>Anders Blomdell (JIRA</dc:creator>
    <dc:date>2010-03-02T08:25:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4311">
    <title>Re: Bizarre behaviour in util.FieldStorage</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4311</link>
    <description>&lt;pre&gt;I agree with Graham on all points.

And may be this is a good chance for us to start checking some stuff in
after this long while.... :)

Grisha


On Mon, Mar 1, 2010 at 5:41 PM, Graham Dumpleton &amp;lt;graham.dumpleton&amp;lt; at &amp;gt;gmail.com

&lt;/pre&gt;</description>
    <dc:creator>Grisha Trubetskoy</dc:creator>
    <dc:date>2010-03-01T22:56:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4310">
    <title>Re: Bizarre behaviour in util.FieldStorage</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4310</link>
    <description>&lt;pre&gt;Please log a bug report at:

  https://issues.apache.org/jira/browse/MODPYTHON

No one else has likely found this because deleting stuff out of
FieldStorage is not the norm. People would normally translate the
contents into some other data structure and manipulate it there.

Do note that there has been no active development on mod_python for
quite a long time, so don't expect to see any updated version until
someone new decides to take ownership of the project.

Graham

On 2 March 2010 02:04, Anders Blomdell &amp;lt;anders.blomdell&amp;lt; at &amp;gt;control.lth.se&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Graham Dumpleton</dc:creator>
    <dc:date>2010-03-01T22:41:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4309">
    <title>Re: Bizarre behaviour in util.FieldStorage</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4309</link>
    <description>&lt;pre&gt;
Some more thinking made me come up with the patch below.

Regards

Anders

--- /usr/lib/python2.6/site-packages/mod_python/util.py.orig        2006-11-22
12:15:54.000000000 +0100
+++ /usr/lib/python2.6/site-packages/mod_python/util.py 2010-03-01
16:00:30.000000000 +0100
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -145,6 +145,12 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
                     self.__table[item.name] = [item]
         return self.__table

+    def delete_name(self, name):
+        self.__table = None
+        for i in range(len(self) - 1, -1, -1):
+            if self[i].name == name:
+                self.pop(i)
+
     def __delitem__(self, *args):
         self.__table = None
         return list.__delitem__(self, *args)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -348,11 +354,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
         self.list.append(item)

     def __setitem__(self, key, value):
-        table = self.list.table()
-        if table.has_key(key):
-            items = table[key]
-            for item in items:
-                self.list.remove(item)
+        if self.list.table().has_key(key):
+            self.list.delete_name(key)
       &lt;/pre&gt;</description>
    <dc:creator>Anders Blomdell</dc:creator>
    <dc:date>2010-03-01T15:04:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4308">
    <title>Bizarre behaviour in util.FieldStorage</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4308</link>
    <description>&lt;pre&gt;Hi,

When a FieldStorage has two (or more) Filed instances with the same value but
different names, the behaviour of programs like this is (more or less) undefined:

  fs = util.FieldStorage(req)
  fs['id1'] = 'New value'
  del fs['id2']

The reason for the undefinedness, is this code in __delitem__ (and the similar
in __setitem__):

        table = self.list.table()
        values = table[key]
        for value in values:
            self.list.remove(value)

What happens is that the self.list.remove(value) will remove the first field
with a matching value, regardless of that fields name. Here is an example from
real life:

    form.clear()
    form['id1'] = 'x'
    form['id2'] = 'x'
    form['id3'] = 'x'
    # Form now contains {'id2': [Field('id2', 'x')],
    #                    'id3': [Field('id3', 'x')],
    #                    'id1': [Field('id1', 'x')]}
    form['id2'] = 'y'
    # Form now contains {'id2': [Field('id2', 'x'), Field('id2', 'y')],
    #                    'id3': [Field('id3', 'x')]}
  &lt;/pre&gt;</description>
    <dc:creator>Anders Blomdell</dc:creator>
    <dc:date>2010-03-01T11:34:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4305">
    <title>PyCon Early Bird is Ending Soon!</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4305</link>
    <description>&lt;pre&gt;Do you have a year-end hole in your training budget? Or will the
improved economy let you finally attend a work conference? Come to sunny
and warm Atlanta in February for PyCon 2010. Early bird registration
ends on January 6.

Register: https://us.pycon.org/2010/register/

See the talks: http://us.pycon.org/2010/conference/talks/
Get trained at a tutorial:  http://us.pycon.org/2010/tutorials/

Also see the five (or more!) talks that people can't miss at PyCon:

PyOraGeek: PyCon pre-favorites
&amp;lt;http://catherinedevlin.blogspot.com/2009/11/pycon-pre-favorites.html&amp;gt;

Pyright: PyCon pre-favorites, the Carl T. edition:
&amp;lt;http://pyright.blogspot.com/2009/11/pycon-2010-pre-favorites-carl-t-edition.html&amp;gt;

Aftermarket Pipes: Five Pycon 2010 Talks I Need to See:
&amp;lt;http://apipes.blogspot.com/2009/12/five-pycon-2010-talks-i-need-to-see.html&amp;gt;

Jessenoller.com: PyCon 2010: Talks I want to see:
&amp;lt;http://jessenoller.com/2009/12/06/pycon-2010-talks-i-want-to-see-keynotes-registration-open/&amp;gt;

The Third Bit: Five PyCon Talks I Want&lt;/pre&gt;</description>
    <dc:creator>VanL</dc:creator>
    <dc:date>2009-12-29T17:32:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4304">
    <title>Commented: (MODPYTHON-235) Memory leaks in main Apache process when doing 'restart' or 'graceful'.</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4304</link>
    <description>&lt;pre&gt;
    [ https://issues.apache.org/jira/browse/MODPYTHON-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;amp;focusedCommentId=12768965#action_12768965 ] 

Graham Dumpleton commented on MODPYTHON-235:
--------------------------------------------

Have no access to www.modpython.org to make changes.


&lt;/pre&gt;</description>
    <dc:creator>Graham Dumpleton (JIRA</dc:creator>
    <dc:date>2009-10-22T23:19:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4303">
    <title>Commented: (MODPYTHON-235) Memory leaks in main Apache process when doing 'restart' or 'graceful'.</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4303</link>
    <description>&lt;pre&gt;
    [ https://issues.apache.org/jira/browse/MODPYTHON-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;amp;focusedCommentId=12768681#action_12768681 ] 

Michael P. Soulier commented on MODPYTHON-235:
----------------------------------------------

Understood.

It might help to update http://www.modpython.org/ with this information. 

Thank you,
Mike


&lt;/pre&gt;</description>
    <dc:creator>Michael P. Soulier (JIRA</dc:creator>
    <dc:date>2009-10-22T13:35:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4302">
    <title>Commented: (MODPYTHON-235) Memory leaks in main Apache process when doing 'restart' or 'graceful'.</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4302</link>
    <description>&lt;pre&gt;
    [ https://issues.apache.org/jira/browse/MODPYTHON-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;amp;focusedCommentId=12768559#action_12768559 ] 

Graham Dumpleton commented on MODPYTHON-235:
--------------------------------------------

No plans to fix it. No plans for any work to be done on mod_python by anyone.

The fix as described also isn't sufficient anyway as Python itself leaks memory even when Py_Initialize() is called. For mod_python 3.X that is by design. For Python 2.X, which is all mod_python supports anyway, not clear if the memory leaks in Python are by design or unintended. Could perhaps be a mix of both.

If you are using mod_python purely for purposes of hosting a Python web application which also has a WSGI interface, you should consider moving to mod_wsgi. The mod_wsgi package ensure that Py_Finalize() is called and so that aspect of leak doesn't exist. There is still the issue with Python itself leaking, but in mod_wsgi 3.X that is avoided by delaying initial&lt;/pre&gt;</description>
    <dc:creator>Graham Dumpleton (JIRA</dc:creator>
    <dc:date>2009-10-22T04:14:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4301">
    <title>Commented: (MODPYTHON-235) Memory leaks in main Apache process when doing 'restart' or 'graceful'.</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4301</link>
    <description>&lt;pre&gt;
    [ https://issues.apache.org/jira/browse/MODPYTHON-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;amp;focusedCommentId=12768547#action_12768547 ] 

Michael P. Soulier commented on MODPYTHON-235:
----------------------------------------------

Is anyone planning to fix this issue? It's hitting a product that I work on that performs graceful restarts on apache regularly. 

If the solution above works, would the fix not be simple? This issue is 2 years old. 


&lt;/pre&gt;</description>
    <dc:creator>Michael P. Soulier (JIRA</dc:creator>
    <dc:date>2009-10-22T02:53:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4300">
    <title>Commented: (MODPYTHON-135) [SECURITY] A Security Issue with FileSession in 3.2.7</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.mod-python.devel/4300</link>
    <description>&lt;pre&gt;
    [ https://issues.apache.org/jira/browse/MODPYTHON-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;amp;focusedCommentId=12764257#action_12764257 ] 

Brian Martin commented on MODPYTHON-135:
----------------------------------------

CVE-2006-1095


&lt;/pre&gt;</description>
    <dc:creator>Brian Martin (JIRA</dc:creator>
    <dc:date>2009-10-09T23:48:31</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.apache.mod-python.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.apache.mod-python.devel</link>
  </textinput>
</rdf:RDF>

