Re: [Web-SIG] WSGI 1 Changes [ianb's and my changes]

2009-09-17 Thread Ian Bicking
On Thu, Sep 17, 2009 at 10:57 AM, Armin Ronacher wrote: > I just want to point out that these are in no way final and are further > intended to only clarify some of the wrong wordings for Python 2, give > us a real readline() function on the input stream and get rid of useless > old cruft such as

Re: [Web-SIG] WSGI and async Servers

2009-09-17 Thread Ian Bicking
On Thu, Sep 17, 2009 at 11:40 AM, Armin Ronacher wrote: > Why would it be good to encourage async applications on top of WSGI? > Because people would otherwise come up with their own implementations > that are incompatible to each other.  Maybe that should not go into WSGI > but a AWSGI or whateve

Re: [Web-SIG] WSGI 1 Changes [ianb's and my changes]

2009-09-17 Thread Armin Ronacher
Hi, René Dudfield schrieb: > I don't like yours and Ians changes with regard to cgi. cgi exists. > Breaking wsgi apps on cgi is silly. Can you give an example on where we break CGI compatibility? > I think you mean pre-2.2 support, not python 2.2? iterators came > about in python 2.2. That migh

Re: [Web-SIG] WSGI 1 Changes [ianb's and my changes]

2009-09-17 Thread René Dudfield
hi, I don't like yours and Ians changes with regard to cgi. cgi exists. Breaking wsgi apps on cgi is silly. Especially it is still the only way to run python web apps on some hosts. Even though many current python frameworks are not optimized enough to run on cgi, it is still used by people. I

[Web-SIG] WSGI and async Servers

2009-09-17 Thread Armin Ronacher
Hi, For this topic I would love to remember everybody that the web is currently changing and will even more change in the future which will probably also mean that a lot of what we're doing currently might not be common practise in the near future. WSGI is currently not doing to well for asyncron

[Web-SIG] String Types in WSGI [Graham's WSGI for py3]

2009-09-17 Thread Armin Ronacher
Hi, Graham currently proposes[1] the following behaviors for Strings in WSGI (Python version independent). However this mail only covers the Python 3 part which I assume becomes a separate section in the PEP or even WSGI version. Terminology: byte string == contains bytes unicode string ==

[Web-SIG] WSGI 1 Changes [ianb's and my changes]

2009-09-17 Thread Armin Ronacher
Hi, Graham mentioned that the WSGI development might further drift apart based on the changes Ian Bicking and I did on DjangoCon in a separate hg repository [1] for the WSGI PEP. I just want to point out that these are in no way final and are further intended to only clarify some of the wrong wor

[Web-SIG] Strings in Jython [Graham's WSGI for py3]

2009-09-17 Thread Armin Ronacher
Hi, This is my first reply in a list of replies for Grahams lengthy blog post about WSGI 3 [1]. I break it up into multiple separate threads so that this can be discussed easier. > What should be highlighted is that for Jython, as I understand it at > least, when reading from a socket connection