Re: [Web-SIG] WSGI, cgi.FieldStorage incompatibility

2006-11-28 Thread Robert Brewer
James Y Knight wrote: On Sep 29, 2006, at 3:31 PM, Guido van Rossum wrote: On 9/29/06, Michael Kerrin [EMAIL PROTECTED] wrote: But the current implementation of cgi.FieldStorage in the 2.4.4 branch and on Python 2.5 does call readline with the size argument. It has started to do

[Web-SIG] WSGI, cgi.FieldStorage incompatibility

2006-09-29 Thread Michael Kerrin
Hi All, The WSGI specification says in the section on Input and Error Streams: The optional size argument to readline() is not supported, as it may be complex for server authors to implement, and is not often used in practice. But the current implementation of cgi.FieldStorage in the

Re: [Web-SIG] WSGI, cgi.FieldStorage incompatibility

2006-09-29 Thread Guido van Rossum
On 9/29/06, Michael Kerrin [EMAIL PROTECTED] wrote: But the current implementation of cgi.FieldStorage in the 2.4.4 branch and on Python 2.5 does call readline with the size argument. It has started to do this in response to the Python bug #1112549 - cgi.FieldStorage memory usage can spike