Re: [jira] Commented: (MODPYTHON-93) Improve util.FieldStorage efficiency

2005-11-28 Thread David Fraser
Gregory (Grisha) Trubetskoy wrote: Having looked at the FieldStorage code, I'm guessing the idea was that you parse fields as they come in and append them to a list. This preserves the original order of fields, in case it is needed. I'm not sure that maintaining a dictionary alongside the

[jira] Updated: (MODPYTHON-94) Calling APR optional functions provided by mod_ssl

2005-11-28 Thread Deron Meranda (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-94?page=all ] Deron Meranda updated MODPYTHON-94: --- Component: core change to core component > Calling APR optional functions provided by mod_ssl > -- > >

[jira] Created: (MODPYTHON-94) Calling APR optional functions provided by mod_ssl

2005-11-28 Thread Deron Meranda (JIRA)
Calling APR optional functions provided by mod_ssl -- Key: MODPYTHON-94 URL: http://issues.apache.org/jira/browse/MODPYTHON-94 Project: mod_python Type: New Feature Components: core Versions: 3.2 Environmen

[jira] Updated: (MODPYTHON-94) Calling APR optional functions provided by mod_ssl

2005-11-28 Thread Deron Meranda (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-94?page=all ] Deron Meranda updated MODPYTHON-94: --- Attachment: requestobject.c.patch This is a suggested patch against 3.2.5b which adds the ability to access a couple mod_ssl optional functions. I adde

Re: [SPAM] [mod_python] [SPAM] ANNOUNCE: Mod_python 3.2.5 Beta

2005-11-28 Thread Gregory (Grisha) Trubetskoy
I don't know how to do that, and it doesn't bother me that much :-) Grisha On Mon, 28 Nov 2005, David Fraser wrote: Gregory (Grisha) Trubetskoy wrote: The Apache Software Foundation and The Apache HTTP Server Project are pleased to announce the 3.2.5 Beta release mod_python. Can we make s

[jira] Updated: (MODPYTHON-94) Calling APR optional functions provided by mod_ssl

2005-11-28 Thread Deron Meranda (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-94?page=all ] Deron Meranda updated MODPYTHON-94: --- Attachment: modpython4.tex.patch This is a documentation patch which goes with the previously attached code patch. Made against 3.2.5b. > Calling APR

Re: [SPAM] [mod_python] [SPAM] ANNOUNCE: Mod_python 3.2.5 Beta

2005-11-28 Thread Jim Gallacher
The problem may lay somewhere outside of your control anyway, Grisha. The original announcements on mod_python and python-dev did not have SPAM added to the subject, so perhaps the problem lies with David's server/email program. Jim Gregory (Grisha) Trubetskoy wrote: I don't know how to do

Re: [mod_python] ANNOUNCE: Mod_python 3.2.5 Beta

2005-11-28 Thread Jim Gallacher
Grisha, Speaking of 3.2.5 beta, how long do we wait before it becomes final? Jim

Re: [jira] Commented: (MODPYTHON-93) Improve util.FieldStorage efficiency

2005-11-28 Thread Nicolas Lehuen
Hi, Speaking of ordered dictionary : http://www.voidspace.org.uk/python/weblog/arch_d7_2005_11_19.shtml#e140 Why is the ordering so important ? I do understand we need to support multiple values per field name, but I don't see why ordering is needed. Regards, Nicolas 2005/11/28, David Fraser <

Re: [mod_python] ANNOUNCE: Mod_python 3.2.5 Beta

2005-11-28 Thread Gregory (Grisha) Trubetskoy
A couple of weeks perhaps? I don't think the final can happen before Apachecon without feeling rushed anyway, so we could target second half of December? On Mon, 28 Nov 2005, Jim Gallacher wrote: Grisha, Speaking of 3.2.5 beta, how long do we wait before it becomes final? Jim

Re: [jira] Commented: (MODPYTHON-93) Improve util.FieldStorage efficiency

2005-11-28 Thread Jim Gallacher
Gregory (Grisha) Trubetskoy wrote: Having looked at the FieldStorage code, I'm guessing the idea was that you parse fields as they come in and append them to a list. This preserves the original order of fields, in case it is needed. I assumed that as well, but I'm not sure getting the field

Re: [jira] Commented: (MODPYTHON-93) Improve util.FieldStorage efficiency

2005-11-28 Thread Gregory (Grisha) Trubetskoy
On Mon, 28 Nov 2005, Nicolas Lehuen wrote: Why is the ordering so important ? I do understand we need to support multiple values per field name, but I don't see why ordering is needed. I think that it may be dictated by some RFC (the stdlib does it this way too), I'm not sure, but it's a goo

Re: [jira] Commented: (MODPYTHON-93) Improve util.FieldStorage efficiency

2005-11-28 Thread Nick
If you provide say FieldStorage.make_dict that returns a dictionary, then I don't see why the order of the keys is important when the original list is still available. Nick Nicolas Lehuen wrote: Hi, Speaking of ordered dictionary : http://www.voidspace.org.uk/python/weblog/arch_d7_2005_11_1

Re: [mod_python] ANNOUNCE: Mod_python 3.2.5 Beta

2005-11-28 Thread Jim Gallacher
Gregory (Grisha) Trubetskoy wrote: A couple of weeks perhaps? I don't think the final can happen before Apachecon without feeling rushed anyway, so we could target second half of December? Sounds good. But are you not at least a little bit tempted to have it have it ready to go so that you

Re: [jira] Commented: (MODPYTHON-93) Improve util.FieldStorage efficiency

2005-11-28 Thread Jim Gallacher
Gregory (Grisha) Trubetskoy wrote: On Mon, 28 Nov 2005, Nicolas Lehuen wrote: Why is the ordering so important ? I do understand we need to support multiple values per field name, but I don't see why ordering is needed. I think that it may be dictated by some RFC (the stdlib does it this wa

Re: [jira] Commented: (MODPYTHON-93) Improve util.FieldStorage efficiency

2005-11-28 Thread Nicolas Lehuen
According to the W3C, "The control names/values are listed in the order they appear in the document." http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13.4.1 But that doesn't say anything about the server side... Relying on the field order is a mark of sloppy programming IMHO.But maybe t

Re: [jira] Commented: (MODPYTHON-93) Improve util.FieldStorage efficiency

2005-11-28 Thread Jim Gallacher
Nicolas Lehuen wrote: According to the W3C, "The control names/values are listed in the order they appear in the document." http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13.4.1 Which also says to "Please consult [RFC2388] for additional information." without actually saying that it

[jira] Commented: (MODPYTHON-94) Calling APR optional functions provided by mod_ssl

2005-11-28 Thread Graham Dumpleton (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-94?page=comments#action_12358711 ] Graham Dumpleton commented on MODPYTHON-94: --- Can Apache be built without HTTPS support? Does this patch still work and does it gracefully fail or give negative re

Re: [jira] Commented: (MODPYTHON-93) Improve util.FieldStorage efficiency

2005-11-28 Thread Mike Looijmans
Nicolas Lehuen wrote: Why is the ordering so important ? I do understand we need to support multiple values per field name, but I don't see why ordering is needed. Because there are applications out there that will break if you change it. Besides that, think about a form with a few text entry

Re: [SPAM] [mod_python] [SPAM] ANNOUNCE: Mod_python 3.2.5 Beta

2005-11-28 Thread David Fraser
Is anyone else subscribed to [EMAIL PROTECTED] It was that one that had the SPAM in the subject, and my mail server doesn't have the ability to add these :-) Jim Gallacher wrote: The problem may lay somewhere outside of your control anyway, Grisha. The original announcements on mod_python and

Re: [jira] Commented: (MODPYTHON-93) Improve util.FieldStorage efficiency

2005-11-28 Thread Nicolas Lehuen
2005/11/29, Mike Looijmans <[EMAIL PROTECTED]>: > Nicolas Lehuen wrote: > > Why is the ordering so important ? I do understand we need to support > > multiple values per field name, but I don't see why ordering is > > needed. > > Because there are applications out there that will break if you chang

[jira] Commented: (MODPYTHON-94) Calling APR optional functions provided by mod_ssl

2005-11-28 Thread David Fraser (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-94?page=comments#action_12358754 ] David Fraser commented on MODPYTHON-94: --- I wonder whether it would be possible to use a module like ctypes to connect to Apache functions. That way the linking issue

Re: [jira] Commented: (MODPYTHON-93) Improve util.FieldStorage efficiency

2005-11-28 Thread Nicolas Lehuen
2005/11/29, Nicolas Lehuen <[EMAIL PROTECTED]>: > 2005/11/29, Mike Looijmans <[EMAIL PROTECTED]>: > > Nicolas Lehuen wrote: > > > Why is the ordering so important ? I do understand we need to support > > > multiple values per field name, but I don't see why ordering is > > > needed. > > > > Because

Re: [jira] Commented: (MODPYTHON-93) Improve util.FieldStorage efficiency

2005-11-28 Thread Mike Looijmans
Nicolas Lehuen wrote: One proposal was to use an OrderedHashtable. As you can see, the reply was quite definite : "No. There is nothing in the spec that says that these parameters should be in any sort of order. CGI scripts that expect them to be in order are coded incorrectly IMHO." Standin