> > There is a new (experimental or beta I forget) option you can use in the > app.yaml file:
Thanks. I was unaware of this option. I found some information about that option here: http://code.google.com/appengine/docs/python/config/appconfig.html#Precompilation Is this a way for GAE to run .pyc files? Does byte compiling provide benefit beyond precompiled? My idea was to take advantage of the `compile` feature of web2py to distribute a commercial web2py app running on GAE. -- Mat On Thu, Aug 5, 2010 at 10:48 PM, Chris S <[email protected]> wrote: > Can I ask what advantage running a compiled app is on GAE? > > There is a new (experimental or beta I forget) option you can use in > the app.yaml file: > derived_file_type: > - python_precompiled > > Does byte compiling provide benefit beyond precompiled? > It's quite possible it does and I just don't understand the difference > in the two. > > On Aug 5, 2:38 pm, mat -- <[email protected]> wrote: > > > Did you check that? > > > > No. I was using 2.6 > > > > I may be wrong but this is the impression I got last time I checked. > > > > Yes, that seems to be indeed the case. I compiled my web2py app while > > running python 2.5.5 (matching Google's server?) and the compiled app > still > > cannot run on GAE. > > > > Thanks for your answers. > > > > -- > > Mat > > > > On Thu, Aug 5, 2010 at 7:43 PM, mdipierro <[email protected]> > wrote: > > > I do not think compiled app run on GAE. The GAE version of python > > > claims to be 2.5 but has different magic number then normal 2.5. This > > > means it is syntactically the same but uses incompatible bytecode. I > > > may be wrong but this is the impression I got last time I checked. > > > > > On Aug 5, 11:06 am, Alexey Nezhdanov <[email protected]> wrote: > > > > I think your version of python must at least match version on > Google's > > > > server. Did you check that? > > > > > > Regards > > > > Alexey > > > > > > On Thu, Aug 5, 2010 at 7:48 PM, mat -- <[email protected]> wrote: > > > > > After clicking the `compile` button in appadmin, my web2py app no > > > longer > > > > > runs on GAE. > > > > > > > Is this expected behavior? > > > > > > > Can only uncompiled app run on GAE? > > > > > > > -- > > > > > Mat > > > > >

