Nicolas Lehuen (JIRA) wrote:
[ http://issues.apache.org/jira/browse/MODPYTHON-99?page=comments#action_12360042 ]
Nicolas Lehuen commented on MODPYTHON-99:
-----------------------------------------

OK, if we modify tuple_from_array_header and tuple_from_method_list, here are 
the members that would be defined as an empty tuple rather than a None value 
when the underlying Apache data is not defined :

server.names
server.wildnames
req.allowed_xmethods
req.allowed_methods
req.content_languages

I don't know if we should change the behaviour of those members or simply alter 
the unit tests, though.

Let's make a decision on this, get it fixed, and move 3.2 forward.

+1 for returning an empty tuple.

It seems more logical to me it was already broken so making the change shouldn't affect anyone's code.

Jim




Reply via email to