Re: [Web-SIG] Revising environ['wsgi.input'].readline in the WSGI specification

2008-11-18 Thread Phillip J. Eby
At 09:30 AM 11/18/2008 +1100, Graham Dumpleton wrote: I would be for (1) errata or amendment as reality is that there is probably no WSGI implementation that disallows an argument to readline() given that certain Python code such as cgi.FieldStorage wouldn't work otherwise. Please note that tha

Re: [Web-SIG] Revising environ['wsgi.input'].readline in the WSGI specification

2008-11-18 Thread Alan Kennedy
[Graham] > I would be for (1) errata or amendment as reality is that there is > probably no WSGI implementation that disallows an argument to > readline() given that certain Python code such as cgi.FieldStorage > wouldn't work otherwise. > > For such a clarification on existing practice, I see no p

Re: [Web-SIG] Revising environ['wsgi.input'].readline in the WSGI specification

2008-11-17 Thread Graham Dumpleton
2008/11/18 Tres Seaver <[EMAIL PROTECTED]>: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Manlio Perillo wrote: >> Phillip J. Eby ha scritto: >>> At 08:49 PM 11/17/2008 +0100, Manlio Perillo wrote: Ian Bicking ha scritto: > [...] > We need to propose a change to the WSGI specif

Re: [Web-SIG] Revising environ['wsgi.input'].readline in the WSGI specification

2008-11-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manlio Perillo wrote: > Phillip J. Eby ha scritto: >> At 08:49 PM 11/17/2008 +0100, Manlio Perillo wrote: >>> Ian Bicking ha scritto: [...] We need to propose a change to the WSGI specification. I propose, in "Input and Error Streams"

Re: [Web-SIG] Revising environ['wsgi.input'].readline in the WSGI specification

2008-11-17 Thread Manlio Perillo
Ian Bicking ha scritto: [...] Fine for me, but of course we need to do this as: 1) Errata to WSGI 1.0 or 2) WSGI 1.1 or 3) WSGI 2.0 You can't just modify the current WSGI 1.0 spec. I'm for 2), with the other clarifications about WSGI we have discussed in the past. I'm for 1. What other cla

Re: [Web-SIG] Revising environ['wsgi.input'].readline in the WSGI specification

2008-11-17 Thread Manlio Perillo
Phillip J. Eby ha scritto: At 08:49 PM 11/17/2008 +0100, Manlio Perillo wrote: Ian Bicking ha scritto: [...] We need to propose a change to the WSGI specification. I propose, in "Input and Error Streams" (http://www.python.org/dev/peps/pep-0333/#input-and-error-streams) we change it to have

Re: [Web-SIG] Revising environ['wsgi.input'].readline in the WSGI specification

2008-11-17 Thread Robert Brewer
Ian Bicking wrote: > Manlio Perillo wrote: > > Ian Bicking ha scritto: > >> [...] > >> We need to propose a change to the WSGI specification. I propose, > in > >> "Input and Error Streams" > >> (http://www.python.org/dev/peps/pep-0333/#input-and-error-streams) > we > >> change it to have "readline

Re: [Web-SIG] Revising environ['wsgi.input'].readline in the WSGI specification

2008-11-17 Thread Phillip J. Eby
At 08:49 PM 11/17/2008 +0100, Manlio Perillo wrote: Ian Bicking ha scritto: [...] We need to propose a change to the WSGI specification. I propose, in "Input and Error Streams" (http://www.python.org/dev/peps/pep-0333/#input-and-error-streams) we change it to have "readline(hint)" and expand

Re: [Web-SIG] Revising environ['wsgi.input'].readline in the WSGI specification

2008-11-17 Thread Ian Bicking
Manlio Perillo wrote: Ian Bicking ha scritto: [...] We need to propose a change to the WSGI specification. I propose, in "Input and Error Streams" (http://www.python.org/dev/peps/pep-0333/#input-and-error-streams) we change it to have "readline(hint)" and expand Note 3 to include readline a

Re: [Web-SIG] Revising environ['wsgi.input'].readline in the WSGI specification

2008-11-17 Thread Manlio Perillo
Ian Bicking ha scritto: [...] We need to propose a change to the WSGI specification. I propose, in "Input and Error Streams" (http://www.python.org/dev/peps/pep-0333/#input-and-error-streams) we change it to have "readline(hint)" and expand Note 3 to include readline as well as readlines, re

Re: [Web-SIG] Revising environ['wsgi.input'].readline in the WSGI specification

2008-11-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ian Bicking wrote: > Mark Ramm wrote: >> On Mon, Nov 17, 2008 at 12:55 PM, Andrew Clover <[EMAIL PROTECTED]> wrote: >>> Ian Bicking wrote: >>> To resolve this, let's just not pass it over this time? >> Totally agreed. >> >> What exactly needs to h

Re: [Web-SIG] Revising environ['wsgi.input'].readline in the WSGI specification

2008-11-17 Thread Ian Bicking
Mark Ramm wrote: On Mon, Nov 17, 2008 at 12:55 PM, Andrew Clover <[EMAIL PROTECTED]> wrote: Ian Bicking wrote: To resolve this, let's just not pass it over this time? Totally agreed. What exactly needs to happen next? We need to propose a change to the WSGI specification. I propose, in

Re: [Web-SIG] Revising environ['wsgi.input'].readline in the WSGI specification

2008-11-17 Thread Mark Ramm
On Mon, Nov 17, 2008 at 12:55 PM, Andrew Clover <[EMAIL PROTECTED]> wrote: > Ian Bicking wrote: > >> To resolve this, let's just not pass it over this time? Totally agreed. What exactly needs to happen next? ___ Web-SIG mailing list Web-SIG@python.org W

Re: [Web-SIG] Revising environ['wsgi.input'].readline in the WSGI specification

2008-11-17 Thread Andrew Clover
Ian Bicking wrote: To resolve this, let's just not pass it over this time? +1 -- And Clover mailto:[EMAIL PROTECTED] http://www.doxdesk.com/ ___ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http:/

Re: [Web-SIG] Revising environ['wsgi.input'].readline in the WSGI specification

2008-11-16 Thread Robert Brewer
+1 > -Original Message- > From: [EMAIL PROTECTED] [mailto:web-sig- > [EMAIL PROTECTED] On Behalf Of Ian Bicking > Sent: Sunday, November 16, 2008 10:06 AM > To: Graham Dumpleton > Cc: Web SIG > Subject: Re: [Web-SIG] Revising environ['wsgi.input'].readl

Re: [Web-SIG] Revising environ['wsgi.input'].readline in the WSGI specification

2008-11-16 Thread Ian Bicking
Graham Dumpleton wrote: 2008/11/16 Ian Bicking <[EMAIL PROTECTED]>: We need to make a revision to the WSGI spec to say that environ['wsgi.input'].readline takes an optional size argument. It always does in practice (except in wsgiref.validate.validator, rendering that validator useless), and is

Re: [Web-SIG] Revising environ['wsgi.input'].readline in the WSGI specification

2008-11-15 Thread Graham Dumpleton
2008/11/16 Ian Bicking <[EMAIL PROTECTED]>: > We need to make a revision to the WSGI spec to say that > environ['wsgi.input'].readline takes an optional size argument. It always > does in practice (except in wsgiref.validate.validator, rendering that > validator useless), and is required to in pra

[Web-SIG] Revising environ['wsgi.input'].readline in the WSGI specification

2008-11-15 Thread Ian Bicking
We need to make a revision to the WSGI spec to say that environ['wsgi.input'].readline takes an optional size argument. It always does in practice (except in wsgiref.validate.validator, rendering that validator useless), and is required to in practice, because everyone uses cgi.FieldStorage, a