Re: [web2py] GAE & Python 2.7 update

2011-11-07 Thread Jonathan Lundell
On Nov 5, 2011, at 5:24 PM, Massimo Di Pierro wrote: > I know I said otherwise before but perhaps we should continue to > default to 2.5 until App Launcher supports 2.7 I just got Launcher 1.6.0, and it appears to support 2.7. > > On Nov 5, 1:28 pm, Jonathan Lundell wrote: >> I thought I'd pas

Re: [web2py] GAE & Python 2.7 update

2011-11-06 Thread Jonathan Lundell
On Nov 5, 2011, at 5:24 PM, Massimo Di Pierro wrote: > I know I said otherwise before but perhaps we should continue to > default to 2.5 until App Launcher supports 2.7 I have, btw, some changes to gaehandler.py. For example, GAE+2.7 now has cPickle, and GAE+2.5 already aliases it, so that logic

[web2py] GAE & Python 2.7 update

2011-11-05 Thread Jonathan Lundell
I thought I'd pass on my recent experience deploying an app to GAE with Python 2.7. My motivation was the new features available, in particular concurrent requests and WSGI operation, and secondarily some other performance improvements (like the native JSON library). See http://code.google.com/

Re: [web2py] GAE & Python 2.7

2011-11-03 Thread Jonathan Lundell
On Nov 3, 2011, at 11:21 AM, howesc wrote: > i'm not smart enough to know the difference between CGI and WSGI, but i have > inserted custom WSGI middleware on GAE before web2py successfully. (perhaps > because web2py is using CGI it was harder than i expected) > > i am interested in 2.7 and co

[web2py] GAE & Python 2.7

2011-11-03 Thread Jonathan Lundell
There's now a new version of app.example.yaml in the trunk. If you're working with the Google App Engine, read on. GAE has been evolving a bit, and now supports Python 2.7 (vs 2.5). The new app.example.yaml is configured to use Python 2.7 and support concurrent requests. It can be modified in (

Re: [web2py] GAE & Python 2.7

2011-11-03 Thread howesc
i'm not smart enough to know the difference between CGI and WSGI, but i have inserted custom WSGI middleware on GAE before web2py successfully. (perhaps because web2py is using CGI it was harder than i expected) i am interested in 2.7 and concurrent requests, though i don't know how to audit m

Re: [web2py] GAE & Python 2.7

2011-11-02 Thread Jonathan Lundell
On Nov 2, 2011, at 12:16 PM, Jonathan Lundell wrote: > On Nov 2, 2011, at 12:11 PM, Jonathan Lundell wrote: > >> 1. Does anyone have a Python 2.7 web2py app running on GAE? >> >> 2. Ditto, with WSGI rather than CGI? >> >> I'm thinking that we need a new handler that's a blend of gaehandler.py a

Re: [web2py] GAE & Python 2.7

2011-11-02 Thread Jonathan Lundell
On Nov 2, 2011, at 12:11 PM, Jonathan Lundell wrote: > 1. Does anyone have a Python 2.7 web2py app running on GAE? > > 2. Ditto, with WSGI rather than CGI? > > I'm thinking that we need a new handler that's a blend of gaehandler.py and > wsgihandler.py. On second thought, would it work to app.

[web2py] GAE & Python 2.7

2011-11-02 Thread Jonathan Lundell
1. Does anyone have a Python 2.7 web2py app running on GAE? 2. Ditto, with WSGI rather than CGI? I'm thinking that we need a new handler that's a blend of gaehandler.py and wsgihandler.py.